Azharuddin Mondul
12/17/2025, 7:06 AMrewrite_data_files. I am testing this functionality using the documented query via SQLAlchemy, but the operation consistently fails.
I am executing the following statement:
ALTER TABLE polaris_catalog.analytics.diagnosis_new
EXECUTE rewrite_data_files
("rewrite_all" = true);
However, I receive the following error:
ProgrammingError: (pymysql.err.ProgrammingError) (1064, 'execute rewrite data files for iceberg table analytics.diagnosis_new failed: null')
I would like to understand whether I am doing anything incorrect with the query itself, or if there are any required prerequisites, that must be set before running an Iceberg compaction job in StarRocks 4.0.
I am currently blocked on this and would appreciate any guidance.
Thank you.Yoav Nordmann
12/17/2025, 5:50 PMYoav Nordmann
12/17/2025, 5:53 PM