We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Renaming a table doesn't work for databases that are mapped to another name in ClickHouse.
MySQL version: 8.0.39 ClickHouse version: 24.8.4.13 Sink connector version: altinity/clickhouse-sink-connector:2.3.1-lt
clickhouse.database.override.map: "testdb:testdb_sink"
create table foo (id int primary key)
insert into foo(id) values (1)
rename table foo to bar
clickhouse-sink-connector-lt-1 | 2024-10-08 03:35:59.950 ERROR - Error running DDL Query: java.sql.SQLException: Code: 81. DB::Exception: Database testdb does not exist. (UNKNOWN_DATABASE) (version 24.8.4.13 (official build)) clickhouse-sink-connector-lt-1 | , server ClickHouseNode [uri=http://servername:8123/system, options={custom_settings=allow_experimental_object_type=1,insert_allow_materialized_columns=1,client_name=Client_1}]@-2121739127
The text was updated successfully, but these errors were encountered:
subkanthi
When branches are created from issues, their pull requests are automatically linked.
Renaming a table doesn't work for databases that are mapped to another name in ClickHouse.
Versions used
MySQL version: 8.0.39
ClickHouse version: 24.8.4.13
Sink connector version: altinity/clickhouse-sink-connector:2.3.1-lt
Steps to reproduce:
clickhouse.database.override.map: "testdb:testdb_sink"
create table foo (id int primary key)
,insert into foo(id) values (1)
-> table appears in ClickHouse testdb_sink as expected.rename table foo to bar
-> ClickHouse is not updated, and the sink connector's container log shows this error:The text was updated successfully, but these errors were encountered: