Eric Scheie
Eric Scheie
Looks like the Teradata ODBC Driver Manager is not registered with the Window's ODBC Driver Manager. Is the Teradata ODBC driver installed?
Okay, then you may want to try uninstalling it and reinstalling it. It needs to show up in the list of available drivers so the Python module can access it.
The Teradata Python module loads the "libodbc.so" library without specifying a path. When the Teradata ODBC Driver is installed it copies the Data Direct Driver Manager it ships with to...
Try setting the LD_LIBRARY_PATH environment variable to the location where the Teradata ODBC libraries can be loaded. E.g. ``` export LD_LIBRARY_PATH=/opt/teradata/client/ODBC_64/lib ```
Where is libddicu27.so located on your system? You may have to modify the LD_LIBRARY_PATH above to make sure it includes that library.
Did you use pip to install or did you execute "setup.py install" directly? If you executed "setup.py install" directly, was the unzipped tar ball folder from PyPI the working directory?
It doesn't look like the unixODBC driver manager can be supported without code changes. The DataDirect ODBC driver supported unicode characters via UTF-8 encoding while unixODBC uses UCS2. The disagreement...
The teradata.datatypes.Interval class provides a timedelta function to get the interval in it's datetime.timedelta represtation. As not all Intervals can be represented as a timedelta object (e.g. Year/Month), a custom...