István Karaszi
09/25/2026, 7:56 AMSLING_SCHEMA_MIGRATION makes invalid DDL for a StarRocks target (v1.6.3)
Hi! We use Sling CLI 1.6.3 (official build, Pro trial) from Postgres to StarRocks. With SLING_SCHEMA_MIGRATION=primary_key, Sling finds the source primary key, but StarRocks rejects the DDL:
create table ... (`_sling_row_id` varchar(65533), `id` bigint, ..., PRIMARY KEY (`id`)) distributed by hash(`_sling_row_id`)
Error 1064: Getting syntax error at line 5, column 2
With all, DEFAULT uuid() and DEFAULT current_timestamp NOT NULL also fail. Do you plan StarRocks support for schema migration? We want to sync all tables of a source without a primary_key for each stream.flarco
09/25/2026, 2:49 PMIstván Karaszi
09/25/2026, 2:50 PMIstván Karaszi
09/28/2026, 1:38 PM