Running into problem when using pd.read_sql with SQLAlchemy. #266
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
This has already been addressed and will be released as part of version 2.0. If you are able to build from source you can verify that it works for you. |
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
-
Exception:
<oracledb.DbObject MDSYS.SDO_GEOMETRY at 0x1ed8385ce90> _typ
Version:
oracledb==1.4.2
The table I'm trying to read contain MDSYS.SDO_GEOMETRY column which are spatial oracle type.
However, If added the line became like this -> line 42: attr_impl = self._impl._type.attrs_by_name[name] it works. No exceptions raised.
Is there any workaround to be able to let pandas to read the table and convert them into DataFrame?
Thanks guys for the help!
Beta Was this translation helpful? Give feedback.
All reactions