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
The PLP Results Model currently defined the column execution_date_time as a DATETIME2 which is generally translated to a TIMESTAMP data type for most RDBMs (I'm mainly focused on PostgreSQL for the purposes of this issue). For reference, this column is declared for 3 different tables here, here, and here.
I'm currently facing a situation when inserting data into the PLP results data model whereby the insert fails with the error described here: OHDSI/DatabaseConnector#240. I believe this is due to the fact that the execution_date_time captured in the output .csv files only has the date and not the time and so the conversion to a timestamp causes an overflow error.
I'd propose changing this column to a VARCHAR(100) instead to avoid this upload error and perhaps a patch should be put together to add the time portion of the datetime captured for the execution_date_time
The text was updated successfully, but these errors were encountered:
The PLP Results Model currently defined the column
execution_date_time
as aDATETIME2
which is generally translated to aTIMESTAMP
data type for most RDBMs (I'm mainly focused on PostgreSQL for the purposes of this issue). For reference, this column is declared for 3 different tables here, here, and here.I'm currently facing a situation when inserting data into the PLP results data model whereby the insert fails with the error described here: OHDSI/DatabaseConnector#240. I believe this is due to the fact that the
execution_date_time
captured in the output .csv files only has the date and not the time and so the conversion to a timestamp causes an overflow error.I'd propose changing this column to a
VARCHAR(100)
instead to avoid this upload error and perhaps a patch should be put together to add the time portion of the datetime captured for theexecution_date_time
The text was updated successfully, but these errors were encountered: