Hi everyone, I am using StarRocks 4.0. As per the ...
# questions-and-troubleshooting
a
Hi everyone, I am using StarRocks 4.0. As per the official documentation, this version supports Iceberg compaction using
rewrite_data_files
. I am testing this functionality using the documented query via SQLAlchemy, but the operation consistently fails. I am executing the following statement:
Copy code
ALTER TABLE polaris_catalog.analytics.diagnosis_new
 EXECUTE rewrite_data_files
 ("rewrite_all" = true);
However, I receive the following error:
Copy code
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.
y
There is a bug open on this subject which will be fixed in 4.0.3