Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
vagetablechicken committed Dec 8, 2023
1 parent 5c066d5 commit 4f8010e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/sql_cmd_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ TEST_P(DBSDKTest, LoadDataError) {
"LOAD DATA INFILE 'not_exist.csv' INTO TABLE trans options(format='parquet', load_mode='local', thread=60);";
sr->ExecuteSQL(load_sql, &status);
ASSERT_FALSE(status.IsOK()) << status.msg;
ASSERT_EQ(status.msg, "local data load only supports 'csv' format");
ASSERT_EQ(status.msg, "INVALID_ARGUMENT: local load format must be csv\n");

load_sql = "LOAD DATA INFILE 'not_exist.csv' INTO TABLE trans options(load_mode='local', thread=0);";
sr->ExecuteSQL(load_sql, &status);
Expand Down

0 comments on commit 4f8010e

Please sign in to comment.