Help:about the generation of concepts for MIMIC-IV-2.2 #1627
Answered
by
alistairewj
washingtonwuyi
asked this question in
MIMIC-IV
-
Beta Was this translation helpful? Give feedback.
Answered by
alistairewj
Aug 22, 2023
Replies: 1 comment 1 reply
-
This is because... they are tables! More specifically, these used to be materialized views, but somewhere along the way I realized it would be better to simply create tables on a separate schema, rather than materialized views in the same schema. It also makes the code more portable as some database systems don't support materialized views. You can see here where we echo "creating materialized views": But then all the scripts actually make tables: So this is just a typo/bug in the SQL script. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
washingtonwuyi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is because... they are tables!
More specifically, these used to be materialized views, but somewhere along the way I realized it would be better to simply create tables on a separate schema, rather than materialized views in the same schema. It also makes the code more portable as some database systems don't support materialized views.
You can see here where we echo "creating materialized views":
mimic-code/mimic-iv/concepts_postgres/postgres-make-concepts.sql
Line 3 in 78f7b6e
But then all the scripts actually make tables:
mimic-code/mimic-iv/concepts_postgres/demographics/icustay_detail.sql
Li…