Skip to content

Commit fb4b16d

Browse files
committed
[ga-format-pr] Run ./format_repo.sh to fix formatting
1 parent 82aba8c commit fb4b16d

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

enginetest/queries/load_queries.go

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@ import (
2222
)
2323

2424
var LoadDataScripts = []ScriptTest{
25-
{
26-
Name: "LOAD DATA applies column defaults when \\N provided",
27-
SetUpScript: []string{
28-
"create table t (pk int primary key, c1 int default 1, c2 int)",
29-
// Explicitly use Windows-style line endings to be robust on Windows CI
30-
"LOAD DATA INFILE './testdata/load_defaults_null.csv' INTO TABLE t FIELDS TERMINATED BY ',' LINES TERMINATED BY '\r\n'",
31-
},
32-
Assertions: []ScriptTestAssertion{
33-
{
34-
Query: "select * from t",
35-
Expected: []sql.Row{{1, 1, 1}},
36-
},
37-
},
38-
},
25+
{
26+
Name: "LOAD DATA applies column defaults when \\N provided",
27+
SetUpScript: []string{
28+
"create table t (pk int primary key, c1 int default 1, c2 int)",
29+
// Explicitly use Windows-style line endings to be robust on Windows CI
30+
"LOAD DATA INFILE './testdata/load_defaults_null.csv' INTO TABLE t FIELDS TERMINATED BY ',' LINES TERMINATED BY '\r\n'",
31+
},
32+
Assertions: []ScriptTestAssertion{
33+
{
34+
Query: "select * from t",
35+
Expected: []sql.Row{{1, 1, 1}},
36+
},
37+
},
38+
},
3939
{
4040
Name: "Basic load data with enclosed values.",
4141
SetUpScript: []string{

0 commit comments

Comments
 (0)