@@ -22,20 +22,20 @@ import (
22
22
)
23
23
24
24
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
+ },
39
39
{
40
40
Name : "Basic load data with enclosed values." ,
41
41
SetUpScript : []string {
0 commit comments