First of all, thanks for the great work on mysql_ch_replicator! While running replication, I encountered an issue where MySQL ENUM fields that include 'point' as a value seem to be mistakenly processed as spatial POINT types.
Steps to Reproduce:
Create a MySQL table with an ENUM column that includes 'point' as one of its possible values:
CREATE TABLE test_enum (
id INT PRIMARY KEY AUTO_INCREMENT,
category ENUM('point', 'cash', 'giftcard') NOT NULL
);
Configure mysql_ch_replicator to replicate this table to ClickHouse.
Start the replication process and observe logs or errors mentioning parse_mysql_point() being applied to the ENUM column.
Error Message
ValueError: Invalid binary length for WKB POINT