Repository navigation
fix: quote loader paths and import CSV inputs - #2128
chessing234 wants to merge 3 commits into
Conversation
alistairewj
left a comment
There was a problem hiding this comment.
the changes are scattered and not very cohesive but with some cleaning up we can merge
a093a10 to
0d36c15
Compare
|
Addressed review feedback in 270b6d3:
|
427d504 to
3015382
Compare
|
@alistairewj Ready for another look. Your July 25 review asks are addressed as follows:
This PR now keeps only the remaining load-path / transpile / duckdb import / validate_demo infra. Happy to cut anything else that still feels out of scope. |
|
@alistairewj resolved the review threads — ready for another look when you have time. |
|
@alistairewj re-review please when you get a chance — pushed after your review to address each point:
kept this PR scoped to load-path / transpile / import infra only. |
Rebased onto main and squashed to the net change after several rounds of trimming; the sqlfluff and sqlite hunks are in MIT-LCP#2148 / MIT-LCP#2149. Covers duckdb load-path quoting for mimic-iii, -ed and -note, the postgres datadir/user quoting and concepts build order, transpile UTF-8 handling with its test, and the validate_demo table lists. The mimic-iv duckdb hunk is dropped: main replaced mimic-iv/buildmimic/duckdb/import_duckdb.sh with build_mimic.sh in MIT-LCP#1757, so that file no longer exists.
3d189fe to
1ced609
Compare
Keep the path/SQL quoting fixes Alistair's review left standing. Revert demo-row, concept-order, and DATETIME_DIFF MONTH changes so this PR stays about load paths; sqlite discovery already lives in MIT-LCP#2149.
|
i found one more loader issue in an ai-assisted check with synthetic data. with both |
Fix loader failures caused by quoted paths and SQL identifiers in the MIMIC-III Postgres/DuckDB loaders and the MIMIC-IV ED/Note DuckDB loaders.
.csvand.csv.gzfiles in the ED/Note loaders and report when no expected files were loaded.The current diff contains five loader files. It contains no concept ordering, SQL transpiler, validation-table or workflow changes. The previously listed transpiler test does not validate this scope.
This description was corrected with AI assistance after comparing the current diff. No new loader execution or demo-data validation was performed in this maintenance pass; those checks remain necessary before claiming the load paths work end to end.