We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2905589 commit 775a56eCopy full SHA for 775a56e
sqlalchemy_teradata/dialect.py
@@ -15,7 +15,6 @@
15
import sqlalchemy.types as sqltypes
16
import sqlalchemy_teradata.types as tdtypes
17
from itertools import groupby
18
-from teradata.tdodbc import osType
19
20
# ischema names is used for reflecting columns (see get_columns in the dialect)
21
ischema_names = {
@@ -52,12 +51,7 @@ class TeradataDialect(default.DefaultDialect):
52
51
name = 'teradata'
53
driver = 'teradata'
54
default_paramstyle = 'qmark'
55
-
56
- #Connection pooling not supported by Linux ODBC driver
57
- if osType=='Linux':
58
- poolclass = pool.NullPool
59
- else:
60
- poolclass = pool.SingletonThreadPool
+ poolclass = pool.SingletonThreadPool
61
62
statement_compiler = TeradataCompiler
63
ddl_compiler = TeradataDDLCompiler
0 commit comments