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
If I try to insert data containing datetimes into a Spark server, it creates a DATE field and then tries to insert the datetime values into that, causing a Error: nanodbc/nanodbc.cpp:1752: 22008: [Simba][Support] (40520) Datetime field overflow resulting from invalid datetime error.
If would expect a TIMESTAMP field to be created for datetime values.
Issue Description and Expected Result
If I try to insert data containing datetimes into a Spark server, it creates a DATE field and then tries to insert the datetime values into that, causing a
Error: nanodbc/nanodbc.cpp:1752: 22008: [Simba][Support] (40520) Datetime field overflow resulting from invalid datetime
error.If would expect a
TIMESTAMP
field to be created for datetime values.Database
Tested on DataBricks Spark
Reproducible Example
If I change this line to read
datetime = "TIMESTAMP",
, all is well. I'll create a PR in case you want to use it.The text was updated successfully, but these errors were encountered: