You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I initially suspected a misstranslation in OHDSI/SqlRender#383, but I don't think that's the case.
With the migration to duckdb in Andromeda I noticed some strange behavior that casts the result of DATEDIFF to either double or date depending on the column name used for the result:
Yes, this is done so that all HADES code can run on Eunomia. SQLite does not support dates natively (I know the extensions do add date types, but that has severe limitations making it unusable). For now, if you want to query fields that are not dates they cannot have their name end in '_date'.
I initially suspected a misstranslation in OHDSI/SqlRender#383, but I don't think that's the case.
With the migration to duckdb in
Andromeda
I noticed some strange behavior that casts the result ofDATEDIFF
to eitherdouble
ordate
depending on the column name used for the result:Created on 2025-02-25 with reprex v2.1.1
The text was updated successfully, but these errors were encountered: