Zelin1203 opened a new issue, #7981:
URL: https://github.com/apache/iceberg/issues/7981
### Query engine
iceberg 1.1.0
spark 3.1.2
### Question
CALL realtime_catalog.system.rewrite_data_files(table =>
'trancare_realtime_dws.dws_stability_app_crash_hourly', strategy => 'sort',
sort_order => 'pkg ASC NULLS LAST,country ASC NULLS LAST,device ASC NULLS
LAST', options => map('max_concurrent_file_group_rewrites', '10'))
CALL realtime_catalog.system.rewrite_data_files(table =>
'trancare_realtime_dws.dws_stability_app_crash_hourly', strategy => 'sort',
sort_order => 'pkg ASC NULLS LAST,country ASC NULLS LAST,device ASC NULLS
LAST', options => map('max_concurrent_file_group_rewrites', '10'))
java.lang.IllegalArgumentException: Cannot use options
[max_concurrent_file_group_rewrites], they are not supported by the action or
the strategy SORT
at
org.apache.iceberg.relocated.com.google.common.base.Preconditions.checkArgument(Preconditions.java:435)
at
org.apache.iceberg.spark.actions.BaseRewriteDataFilesSparkAction.validateAndInitOptions(BaseRewriteDataFilesSparkAction.java:419)
at
org.apache.iceberg.spark.actions.BaseRewriteDataFilesSparkAction.execute(BaseRewriteDataFilesSparkAction.java:163)
at
org.apache.iceberg.spark.actions.BaseRewriteDataFilesSpark3Action.execute(BaseRewriteDataFilesSpark3Action.java:27)
at
org.apache.iceberg.spark.actions.BaseRewriteDataFilesSparkAction.execute(BaseRewriteDataFilesSparkAction.java:74)
at
org.apache.iceberg.spark.procedures.RewriteDataFilesProcedure.lambda$call$0(RewriteDataFilesProcedure.java:118)
at
org.apache.iceberg.spark.procedures.BaseProcedure.execute(BaseProcedure.java:86)
at
org.apache.iceberg.spark.procedures.BaseProcedure.modifyIcebergTable(BaseProcedure.java:74)
at
org.apache.iceberg.spark.procedures.RewriteDataFilesProcedure.call(RewriteDataFilesProcedure.java:96)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]