The DATETIME column is incorrectly created as a BigQuery TIMESTAMP data type rather than a DATETIME data type


Trying to create a BigQuery table from a SAS® data set might result in a column being incorrectly created as a TIMESTAMP data type rather than the expected DATETIME data type when the following are true:

See SAS Note 67420, which introduced the original data type change from TIMESTAMP to DATETIME.

Workaround

To work around this issue, create the BigQuery table with the correct data types using explicit pass-through and then use the SQL or APPEND procedure to insert the data from the SAS data set into the existing BigQuery table.