Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Hikari Connection Pool for handling Clickhouse connections #893

Open
wants to merge 27 commits into
base: 2.6.0
Choose a base branch
from

Set connection pool to 100 in hikari

83cfcd4
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Use Hikari Connection Pool for handling Clickhouse connections #893

Set connection pool to 100 in hikari
83cfcd4
Select commit
Loading
Failed to load commit list.
GitHub Actions / JUnit Test Report failed Nov 8, 2024 in 0s

128 tests run, 82 passed, 11 skipped, 35 failed.

Annotations

Check failure on line 110 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ClickHouseDebeziumEmbeddedPostgresDecoderBufsDockerIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ClickHouseDebeziumEmbeddedPostgresDecoderBufsDockerIT.testDecoderBufsPlugin

Code: 60. DB::Exception: Unknown table expression identifier 'tm' in scope SELECT count(*) FROM tm. (UNKNOWN_TABLE) (version 24.10.1.2812 (official build))
, server ClickHouseNode [uri=http://localhost:32774/system, options={custom_settings=allow_experimental_object_type=1,insert_allow_materialized_columns=1,client_name=Sink Connector Lightweight}]@-2083674500
Raw output
java.sql.BatchUpdateException: 
Code: 60. DB::Exception: Unknown table expression identifier 'tm' in scope SELECT count(*) FROM tm. (UNKNOWN_TABLE) (version 24.10.1.2812 (official build))
, server ClickHouseNode [uri=http://localhost:32774/system, options={custom_settings=allow_experimental_object_type=1,insert_allow_materialized_columns=1,client_name=Sink Connector Lightweight}]@-2083674500
	at com.altinity.clickhouse.debezium.embedded.ClickHouseDebeziumEmbeddedPostgresDecoderBufsDockerIT.testDecoderBufsPlugin(ClickHouseDebeziumEmbeddedPostgresDecoderBufsDockerIT.java:110)

Check failure on line 114 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ClickHouseDebeziumEmbeddedPostgresPgoutputDockerIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ClickHouseDebeziumEmbeddedPostgresPgoutputDockerIT.testPgOutputPlugin

Code: 60. DB::Exception: Unknown table expression identifier 'tm' in scope SELECT count(*) FROM tm. (UNKNOWN_TABLE) (version 24.10.1.2812 (official build))
, server ClickHouseNode [uri=http://localhost:32774/system, options={custom_settings=allow_experimental_object_type=1,insert_allow_materialized_columns=1,client_name=Sink Connector Lightweight}]@-2083674500
Raw output
java.sql.BatchUpdateException: 
Code: 60. DB::Exception: Unknown table expression identifier 'tm' in scope SELECT count(*) FROM tm. (UNKNOWN_TABLE) (version 24.10.1.2812 (official build))
, server ClickHouseNode [uri=http://localhost:32774/system, options={custom_settings=allow_experimental_object_type=1,insert_allow_materialized_columns=1,client_name=Sink Connector Lightweight}]@-2083674500
	at com.altinity.clickhouse.debezium.embedded.ClickHouseDebeziumEmbeddedPostgresPgoutputDockerIT.testPgOutputPlugin(ClickHouseDebeziumEmbeddedPostgresPgoutputDockerIT.java:114)

Check failure on line 138 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/MariaDBIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MariaDBIT.testMultipleDatabases

Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
Raw output
java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
	at com.altinity.clickhouse.debezium.embedded.MariaDBIT.testMultipleDatabases(MariaDBIT.java:138)

Check failure on line 107 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/MySQLGenerateColumnsTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MySQLGenerateColumnsTest.testMySQLGeneratedColumns

Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "java.util.Map.get(Object)" is null
Raw output
java.lang.NullPointerException: Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "java.util.Map.get(Object)" is null
	at com.altinity.clickhouse.debezium.embedded.MySQLGenerateColumnsTest.testMySQLGeneratedColumns(MySQLGenerateColumnsTest.java:107)

Check failure on line 131 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/MySQLJsonIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MySQLJsonIT.testMultipleDatabases

Code: 60. DB::Exception: Unknown table expression identifier 'employees.audience' in scope SELECT * FROM employees.audience. (UNKNOWN_TABLE) (version 24.10.1.2812 (official build))
, server ClickHouseNode [uri=http://localhost:32774/system, options={custom_settings=allow_experimental_object_type=1,insert_allow_materialized_columns=1,client_name=Sink Connector Lightweight}]@-2083674500
Raw output
java.sql.BatchUpdateException: 
Code: 60. DB::Exception: Unknown table expression identifier 'employees.audience' in scope SELECT * FROM employees.audience. (UNKNOWN_TABLE) (version 24.10.1.2812 (official build))
, server ClickHouseNode [uri=http://localhost:32774/system, options={custom_settings=allow_experimental_object_type=1,insert_allow_materialized_columns=1,client_name=Sink Connector Lightweight}]@-2083674500
	at com.altinity.clickhouse.debezium.embedded.MySQLJsonIT.testMultipleDatabases(MySQLJsonIT.java:131)

Check failure on line 103 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/PostgresInitialDockerIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

PostgresInitialDockerIT.testDecoderBufsPlugin

java.lang.AssertionError
	at com.altinity.clickhouse.debezium.embedded.PostgresInitialDockerIT.testDecoderBufsPlugin(PostgresInitialDockerIT.java:103)
Raw output
java.lang.AssertionError
	at com.altinity.clickhouse.debezium.embedded.PostgresInitialDockerIT.testDecoderBufsPlugin(PostgresInitialDockerIT.java:103)

Check failure on line 126 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/PostgresInitialDockerWKeeperMapStorageIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

PostgresInitialDockerWKeeperMapStorageIT.testDecoderBufsPlugin

java.lang.AssertionError
	at com.altinity.clickhouse.debezium.embedded.PostgresInitialDockerWKeeperMapStorageIT.testDecoderBufsPlugin(PostgresInitialDockerWKeeperMapStorageIT.java:126)
Raw output
java.lang.AssertionError
	at com.altinity.clickhouse.debezium.embedded.PostgresInitialDockerWKeeperMapStorageIT.testDecoderBufsPlugin(PostgresInitialDockerWKeeperMapStorageIT.java:126)

Check failure on line 128 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/PostgresPgoutputMultipleSchemaIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

PostgresPgoutputMultipleSchemaIT.testMultipleSchemaReplication

java.lang.AssertionError
	at com.altinity.clickhouse.debezium.embedded.PostgresPgoutputMultipleSchemaIT.testMultipleSchemaReplication(PostgresPgoutputMultipleSchemaIT.java:128)
Raw output
java.lang.AssertionError
	at com.altinity.clickhouse.debezium.embedded.PostgresPgoutputMultipleSchemaIT.testMultipleSchemaReplication(PostgresPgoutputMultipleSchemaIT.java:128)

Check failure on line 109 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ReplicatedRMTClickHouse22TIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ReplicatedRMTClickHouse22TIT.testReplicatedRMTAutoCreate{String}[1]

Code: 390. DB::Exception: Table `string_types_MEDIUMTEXT_utf8mb4` doesn't exist. (CANNOT_GET_CREATE_TABLE_QUERY) (version 24.10.1.2812 (official build))
, server ClickHouseNode [uri=http://localhost:32774/system, options={custom_settings=allow_experimental_object_type=1,insert_allow_materialized_columns=1,client_name=Sink Connector Lightweight}]@-2083674500
Raw output
java.sql.BatchUpdateException: 
Code: 390. DB::Exception: Table `string_types_MEDIUMTEXT_utf8mb4` doesn't exist. (CANNOT_GET_CREATE_TABLE_QUERY) (version 24.10.1.2812 (official build))
, server ClickHouseNode [uri=http://localhost:32774/system, options={custom_settings=allow_experimental_object_type=1,insert_allow_materialized_columns=1,client_name=Sink Connector Lightweight}]@-2083674500
	at com.altinity.clickhouse.debezium.embedded.ReplicatedRMTClickHouse22TIT.testReplicatedRMTAutoCreate(ReplicatedRMTClickHouse22TIT.java:109)

Check failure on line 111 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ReplicatedRMTDDLClickHouse22TIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ReplicatedRMTDDLClickHouse22TIT.testReplicatedRMTAutoCreate{String}[1]

Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
Raw output
java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
	at com.altinity.clickhouse.debezium.embedded.ReplicatedRMTDDLClickHouse22TIT.testReplicatedRMTAutoCreate(ReplicatedRMTDDLClickHouse22TIT.java:111)

Check failure on line 114 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ReplicatedRMTDDLIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ReplicatedRMTDDLIT.testReplicatedRMTAutoCreate{String}[1]

Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
Raw output
java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
	at com.altinity.clickhouse.debezium.embedded.ReplicatedRMTDDLIT.testReplicatedRMTAutoCreate(ReplicatedRMTDDLIT.java:114)

Check failure on line 112 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ReplicatedRMTIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ReplicatedRMTIT.testReplicatedRMTAutoCreate{String}[1]

Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
Raw output
java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
	at com.altinity.clickhouse.debezium.embedded.ReplicatedRMTIT.testReplicatedRMTAutoCreate(ReplicatedRMTIT.java:112)

Check failure on line 128 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/cdc/DatabaseOverrideIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

DatabaseOverrideIT.testDatabaseOverride

Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
Raw output
java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
	at com.altinity.clickhouse.debezium.embedded.cdc.DatabaseOverrideIT.testDatabaseOverride(DatabaseOverrideIT.java:128)

Check failure on line 111 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/cdc/DatabaseOverrideInitialIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

DatabaseOverrideInitialIT.testDatabaseOverride

Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
Raw output
java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
	at com.altinity.clickhouse.debezium.embedded.cdc.DatabaseOverrideInitialIT.testDatabaseOverride(DatabaseOverrideInitialIT.java:111)

Check failure on line 94 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/cdc/DatabaseOverrideRRMTIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

DatabaseOverrideRRMTIT.testDatabaseOverride

Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
Raw output
java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
	at com.altinity.clickhouse.debezium.embedded.cdc.DatabaseOverrideRRMTIT.testDatabaseOverride(DatabaseOverrideRRMTIT.java:94)

Check failure on line 166 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/cdc/DebeziumChangeEventCaptureIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

DebeziumChangeEventCaptureIT.testIncrementingSequenceNumbers

Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
Raw output
java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
	at com.altinity.clickhouse.debezium.embedded.cdc.DebeziumChangeEventCaptureIT.testIncrementingSequenceNumbers(DebeziumChangeEventCaptureIT.java:166)

Check failure on line 96 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/cdc/DebeziumStorageViewIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

DebeziumStorageViewIT.debeziumStorageView

Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
Raw output
java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
	at com.altinity.clickhouse.debezium.embedded.cdc.DebeziumStorageViewIT.debeziumStorageView(DebeziumStorageViewIT.java:96)

Check failure on line 139 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/cdc/MultipleUpdatesWSameTimestampIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MultipleUpdatesWSameTimestampIT.testIncrementingSequenceNumberWithUpdates

Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
Raw output
java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
	at com.altinity.clickhouse.debezium.embedded.cdc.MultipleUpdatesWSameTimestampIT.testIncrementingSequenceNumberWithUpdates(MultipleUpdatesWSameTimestampIT.java:139)

Check failure on line 115 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/cdc/SourceDBColumnMissingIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

SourceDBColumnMissingIT.testColumnMismatch

Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
Raw output
java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
	at com.altinity.clickhouse.debezium.embedded.cdc.SourceDBColumnMissingIT.testColumnMismatch(SourceDBColumnMissingIT.java:115)

Check failure on line 100 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ddl/parser/AlterTableAddColumnIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

AlterTableAddColumnIT.testAddColumn

Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "java.util.Map.get(Object)" is null
Raw output
java.lang.NullPointerException: Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "java.util.Map.get(Object)" is null
	at com.altinity.clickhouse.debezium.embedded.ddl.parser.AlterTableAddColumnIT.testAddColumn(AlterTableAddColumnIT.java:100)

Check failure on line 86 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ddl/parser/AlterTableChangeColumnIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

AlterTableChangeColumnIT.testChangeColumn

Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "java.util.Map.get(Object)" is null
Raw output
java.lang.NullPointerException: Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "java.util.Map.get(Object)" is null
	at com.altinity.clickhouse.debezium.embedded.ddl.parser.AlterTableChangeColumnIT.testChangeColumn(AlterTableChangeColumnIT.java:86)

Check failure on line 79 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ddl/parser/AlterTableModifyColumnIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

AlterTableModifyColumnIT.testModifyColumn

Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "java.util.Map.get(Object)" is null
Raw output
java.lang.NullPointerException: Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "java.util.Map.get(Object)" is null
	at com.altinity.clickhouse.debezium.embedded.ddl.parser.AlterTableModifyColumnIT.testModifyColumn(AlterTableModifyColumnIT.java:79)

Check failure on line 102 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ddl/parser/AutoCreateTableIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

AutoCreateTableIT.testAutoCreateTable{String}[1]

Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
Raw output
java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
	at com.altinity.clickhouse.debezium.embedded.ddl.parser.AutoCreateTableIT.testAutoCreateTable(AutoCreateTableIT.java:102)

Check failure on line 102 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ddl/parser/AutoCreateTableIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

AutoCreateTableIT.testAutoCreateTable{String}[2]

Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
Raw output
java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because "this.conn" is null
	at com.altinity.clickhouse.debezium.embedded.ddl.parser.AutoCreateTableIT.testAutoCreateTable(AutoCreateTableIT.java:102)

Check failure on line 85 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ddl/parser/CreateTableDataTypesIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

CreateTableDataTypesIT.testCreateTable

Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "java.util.Map.get(Object)" is null
Raw output
java.lang.NullPointerException: Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "java.util.Map.get(Object)" is null
	at com.altinity.clickhouse.debezium.embedded.ddl.parser.CreateTableDataTypesIT.testCreateTable(CreateTableDataTypesIT.java:85)