Skip to content

fix: pin sqlite import dtypes for mixed columns#2075

Closed
Chessing234 wants to merge 1 commit into
MIT-LCP:mainfrom
Chessing234:fix/1237-sqlite-import-dtypes
Closed

fix: pin sqlite import dtypes for mixed columns#2075
Chessing234 wants to merge 1 commit into
MIT-LCP:mainfrom
Chessing234:fix/1237-sqlite-import-dtypes

Conversation

@Chessing234

@Chessing234 Chessing234 commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • import.py was hitting mixed-type DtypeWarnings on datetimeevents / inputevents_cv / noteevents
  • pin those columns from the postgres DDL and use low_memory=False

Fixes #1237

Test plan

  • run import.py on mimic-iii csv.gz; no DtypeWarning

Co-authored-by: Cursor <cursoragent@cursor.com>
@Chessing234

Copy link
Copy Markdown
Contributor Author

superseded by #2124.

@Chessing234

Copy link
Copy Markdown
Contributor Author

closing in favor of #2124

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.

SQLite import for mimic3 gives mixed column type warning

1 participant