diff options
| author | vitalyisaev <[email protected]> | 2023-12-01 19:25:50 +0300 |
|---|---|---|
| committer | vitalyisaev <[email protected]> | 2023-12-01 23:22:27 +0300 |
| commit | 751584d4216aba6f6b03ccef80105a07bad32c94 (patch) | |
| tree | e9f6355fc7436f06c744c4174fa048364ff920d9 | |
| parent | d40be234feb8c33b93629e3be430a2b80d8ec7ae (diff) | |
YQ Connector:disable ClickHouse debug output
| -rw-r--r-- | ydb/library/yql/providers/generic/connector/app/server/rdbms/clickhouse/connection_manager.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ydb/library/yql/providers/generic/connector/app/server/rdbms/clickhouse/connection_manager.go b/ydb/library/yql/providers/generic/connector/app/server/rdbms/clickhouse/connection_manager.go index 4aa52b99fa2..522bda6dac3 100644 --- a/ydb/library/yql/providers/generic/connector/app/server/rdbms/clickhouse/connection_manager.go +++ b/ydb/library/yql/providers/generic/connector/app/server/rdbms/clickhouse/connection_manager.go @@ -93,10 +93,12 @@ func (c *connectionManager) Make( Username: dsi.Credentials.GetBasic().Username, Password: dsi.Credentials.GetBasic().Password, }, - Debug: true, + // Set this field to true if you want to see ClickHouse driver's debug output + Debug: false, Debugf: func(format string, v ...any) { logger.Debugf(format, v...) }, + // TODO: make it configurable via Connector API Compression: &clickhouse.Compression{ Method: clickhouse.CompressionLZ4, }, |
