Skip to content

Commit db2deed

Browse files
committed
Update teradata.py
1 parent 40499e0 commit db2deed

File tree

1 file changed

+1
-1
lines changed
  • metadata-ingestion/src/datahub/ingestion/source/sql

1 file changed

+1
-1
lines changed

metadata-ingestion/src/datahub/ingestion/source/sql/teradata.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ def _add_default_options(self, sql_config: SQLCommonConfig) -> None:
684684
super()._add_default_options(sql_config)
685685
if sql_config.is_profiling_enabled():
686686
# Sqlalchemy uses QueuePool by default however Teradata uses SingletonThreadPool.
687-
# SingletonThreadPool does not support parellel connections.
687+
# SingletonThreadPool does not support parellel connections. For using profiling, we need to use QueuePool.
688688
# https://docs.sqlalchemy.org/en/20/core/pooling.html#connection-pool-configuration
689689
# https://github.com/Teradata/sqlalchemy-teradata/issues/96
690690
sql_config.options.setdefault("poolclass", QueuePool)

0 commit comments

Comments
 (0)