@@ -22,20 +22,20 @@ import (
2222)
2323
2424var 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