Replies: 1 comment
-
Hi @mpenner77 , may I ask what's the schema of your "datetime column"? According to oracle's documentation, the "datetime_datatype" includes Can you provide the corresponding SQL to create your table, so we could reproduce your error? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been using Pandas and SqlAlchemy to get data from a Oracle database and save it as Parquet files for analysis.
I've read that Connectorx is the fastest and most memory efficient way to load data from databases into Python and I want to try it.
My routine with sqlalchemy takes about 6 min to get 2M rowx x 8 columns from Oracle DB. ConnectorX takes 1.15 min to get the same data. It was quite impressive.
But, when I checked my files generate with ConnectorX the datetime column was loaded as only date.
Is there way to get datetime from ConnectorX using a Oracle Db?
SqlAlchemy
694882 TESTE CPD 4 2020-08-31 17:33:53 99999
694888 TESTE CPD 10 2020-08-31 16:10:30 99999
694888 TESTE CPD 10 2020-08-31 16:08:19 99999
ConnectorX
694882 TESTE CPD 4 2020-08-31 99999
694888 TESTE CPD 10 2020-08-31 99999
694888 TESTE CPD 10 2020-08-31 99999
Beta Was this translation helpful? Give feedback.
All reactions