-
Notifications
You must be signed in to change notification settings - Fork 154
Description
While working on adding Sybase support I had some confusion with a cast to varchar(3000) that I didn't implement. It turned out to be due to this line of code in the Db2 modifications:
| ibis_type_to_sqla[dt.String] = sa.sql.sqltypes.String(length=3000) |
This code is changing a global structure that is leaking into other supported engines.
It looks like we do something similar in the Oracle code too (although those lines were not manifesting in the Sybase testing I was doing).
It was further complicated by me seeing different results depending on which Python version I was using.
Either way - we should revisit this technique and consider an engine specific change rather than a global change.