Skip to content

Add mimic-iii concepts to sqlglot transpilation#2069

Merged
alistairewj merged 9 commits into
mainfrom
alistair/sqlglot_mimiciii
Jul 18, 2026
Merged

Add mimic-iii concepts to sqlglot transpilation#2069
alistairewj merged 9 commits into
mainfrom
alistair/sqlglot_mimiciii

Conversation

@alistairewj

Copy link
Copy Markdown
Member

Mostly works but needs some custom args:

mimic_utils convert_folder mimic-iii/concepts mimic-iii/concepts_duckdb \
  --destination_dialect duckdb \
  --derived_schema mimiciii_derived \
  --schema_map mimiciii_clinical=mimiciii,mimiciii_notes=mimiciii \
  --exclude cookbook other-languages functions pivot/pivoted_oasis.sql

mimic_utils convert_folder mimic-iii/concepts mimic-iii/concepts_postgres \
  --destination_dialect postgres \
  --derived_schema mimiciii_derived \
  --schema_map mimiciii_clinical=mimiciii,mimiciii_notes=mimiciii \
  --exclude cookbook other-languages functions pivot/pivoted_oasis.sql

@alistairewj
alistairewj force-pushed the alistair/sqlglot_mimiciii branch from b4e2c11 to aaa1127 Compare July 18, 2026 22:01
@alistairewj
alistairewj force-pushed the alistair/sqlglot_mimiciii branch from aaa1127 to 0d7db5f Compare July 18, 2026 22:07
@alistairewj
alistairewj merged commit 4cf9855 into main Jul 18, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant