Closed
Description
What language are you using?
Python
What version are you using?
Python 3.10.14
What database are you using?
Microsoft SQL Server (ver. 15.00.4360)
What dataframe are you using?
Arrow
Can you describe your bug?
I get an "panicexception: out of range Datetime. This happens since connectorx version 0.3.3. Reverting back to version 0.3.2 resolves the issue.
What are the steps to reproduce the behavior?
Getting a table from SQL Server with the following settings:
cx.read_sql(
conn='mssql://etcetera',
query='select * FROM [dbo].[transactions]',
return_type="arrow2",
)
Database setup if the error only happens on specific data or data type
Happens on datetime and datetime2 in SQL Server
Table schema and example data
Example query / code
See above
What is the error?
pyo3_runtime.PanicException: out of range DateTime