Closed lawrenceadams closed 1 month ago
Within the synthea staging models - some keywords (or things that one would think are SQL keywords) are quoted inconsistently.
For example:
https://github.com/OHDSI/dbt-synthea/blob/ae791145d50c9e0693880ff9ed37d60f7cc0195d/models/staging/synthea/stg_synthea__imaging_studies.sql#L16
vs (how all the other models do it)
https://github.com/OHDSI/dbt-synthea/blob/ae791145d50c9e0693880ff9ed37d60f7cc0195d/models/staging/synthea/stg_synthea__encounters.sql#L16
This doesn't effect just id but others such as description, name. Neither of these are keywords for the databases we support as of time of writing (duckdb, postgres)
id
description
name
duckdb
postgres
This and this may be of help
Within the synthea staging models - some keywords (or things that one would think are SQL keywords) are quoted inconsistently.
For example:
https://github.com/OHDSI/dbt-synthea/blob/ae791145d50c9e0693880ff9ed37d60f7cc0195d/models/staging/synthea/stg_synthea__imaging_studies.sql#L16
vs (how all the other models do it)
https://github.com/OHDSI/dbt-synthea/blob/ae791145d50c9e0693880ff9ed37d60f7cc0195d/models/staging/synthea/stg_synthea__encounters.sql#L16
This doesn't effect just
id
but others such asdescription
,name
. Neither of these are keywords for the databases we support as of time of writing (duckdb
,postgres
)