Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
Signed-off-by: lance6716 <lance6716@gmail.com>
  • Loading branch information
lance6716 committed May 25, 2023
1 parent eddafdf commit 0033a0c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions executor/test/loadremotetest/error_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,6 @@ func (s *mockGCSSuite) TestErrorMessage() {
Content: []byte("1\t2\n" +
"1\t4\n"),
})
err = s.tk.ExecToErr(fmt.Sprintf(`LOAD DATA INFILE 'gs://test-tsv/t.tsv?endpoint=%s'
FORMAT '123' INTO TABLE t;`, gcsEndpoint))
checkClientErrorMessage(s.T(), err,
"ERROR 8157 (HY000): The FORMAT '123' is not supported")
err = s.tk.ExecToErr(fmt.Sprintf(`LOAD DATA INFILE 'gs://test-tsv/t.tsv?endpoint=%s'
FORMAT 'sql file' INTO TABLE t;`, gcsEndpoint))
checkClientErrorMessage(s.T(), err,
"ERROR 8160 (HY000): Failed to read source files. Reason: syntax error: unexpected Integer (1) at offset 1, expecting start of row. Only the following formats delimited text file (csv, tsv), parquet, sql are supported. Please provide the valid source file(s)")
err = s.tk.ExecToErr(fmt.Sprintf(`LOAD DATA INFILE 'gs://test-tsv/t.tsv?endpoint=%s'
INTO TABLE t LINES STARTING BY '\n';`, gcsEndpoint))
checkClientErrorMessage(s.T(), err,
Expand Down

0 comments on commit 0033a0c

Please sign in to comment.