dolt icon indicating copy to clipboard operation
dolt copied to clipboard

`TestLoadData` fails with Dolt integrator

Open max-hoffman opened this issue 2 years ago • 2 comments

The LOAD DATA INFILE Enginetests that pass in GMS were never ran against the Dolt integrator.

I added skipped TestLoadData in dolt_engine_test.go.

max-hoffman avatar Apr 13 '22 21:04 max-hoffman

These tests are failing because of mismatching directories as a result of running the test case in the Dolt integrator vs GMS itself. I don't think there's a great fix for this because you can't really specify the full path in the LOAD FILE query.

We do have sql-load-data.bats tests that do execute LOAD DATA queries against dolt.

I would prefer to close

VinaiRachakonda avatar Jun 27 '22 16:06 VinaiRachakonda

Look at how i fixed this for setup scripts. The files need to be loaded into Go structs that can be accessed from GMS and integrator.

max-hoffman avatar Jun 27 '22 17:06 max-hoffman

Going to close.

timsehn avatar Oct 04 '22 19:10 timsehn