Altinity / clickhouse-sink-connector

Replicate data from MySQL, Postgres and MongoDB to ClickHouse®
https://www.altinity.com
Apache License 2.0
235 stars 54 forks source link

CREATE TABLE LIKE MySQL DDL #928

Open subkanthi opened 1 week ago

subkanthi commented 1 week ago
 python db_load/mysql_parser/mysql_parser.py create_like.sql
2024-11-21 13:53:33,397 - root - MainThread - INFO - source = CREATE TABLE temp_ref_account LIKE temp_ref_account_old

2024-11-21 13:53:33,530 - root - MainThread - DEBUG - (sqlStatements (sqlStatement (ddlStatement (createTable CREATE TABLE (tableName (fullId (uid (simpleId temp_ref_account)))) LIKE (tableName (fullId (uid (simpleId temp_ref_account_old))))))))
2024-11-21 13:53:33,530 - root - MainThread - INFO - target =
subkanthi commented 3 days ago

@Selfeer please double check this CREATE TABLE like DDL is replicated.