Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: bump the clickhouse max execution time from 60 to 300 seconds (#1842)
tianzhou23a7465df745
diff --git a/plugin/db/clickhouse/clickhouse.go b/plugin/db/clickhouse/clickhouse.goindex 3b1b60f62a..def5b8148d 100644--- a/plugin/db/clickhouse/clickhouse.go+++ b/plugin/db/clickhouse/clickhouse.go@@ -64,7 +64,9 @@ func (driver *Driver) Open(ctx context.Context, dbType db.Type, config db.Connec},TLS: tlsConfig,Settings: clickhouse.Settings{- "max_execution_time": 60, // 60 seconds.+ // Use a relative long value to avoid timeout on resource-intenstive query. Example failure:+ // failed: code: 160, message: Estimated query execution time (xxx seconds) is too long. Maximum: yyy. Estimated rows to process: zzzzzzzzz+ "max_execution_time": 300,},DialTimeout: 10 * time.Second,})