From 1f4b829c9a415b3ebd49a8bcb2c564b4aaa73534 Mon Sep 17 00:00:00 2001 From: Tim Sehn Date: Fri, 30 May 2025 13:52:24 -0700 Subject: [PATCH] Fixed a load data test for mismatched columns --- integration-tests/bats/sql-load-data.bats | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/integration-tests/bats/sql-load-data.bats b/integration-tests/bats/sql-load-data.bats index 72f6c31049e..4a8257ecb79 100644 --- a/integration-tests/bats/sql-load-data.bats +++ b/integration-tests/bats/sql-load-data.bats @@ -151,8 +151,6 @@ SQL } @test "sql-load-data: works when column order is mismatched" { - skip "This needs to be fixed." - cat < 1pk2col-ints.csv pk,c1 "hi","1" @@ -161,7 +159,7 @@ DELIM dolt sql << SQL CREATE TABLE test(pk int, c1 longtext); -LOAD DATA INFILE '1pk2col-ints.csv' INTO TABLE test FIELDS ENCLOSED BY '"' TERMINATED BY ',' IGNORE 1 LINES (c1,pk); +LOAD DATA INFILE '1pk2col-ints.csv' INTO TABLE test FIELDS TERMINATED BY ',' ENCLOSED BY '"' IGNORE 1 LINES (c1,pk); SQL run dolt sql -r csv -q "select * from test"