rajarshisarkar commented on code in PR #4377:
URL: https://github.com/apache/iceberg/pull/4377#discussion_r851320818


##########
spark/v3.2/spark/src/main/java/org/apache/iceberg/spark/actions/BaseRewriteDataFilesSparkAction.java:
##########
@@ -356,6 +374,8 @@ private void validateAndInitOptions() {
         "Cannot use options %s, they are not supported by the action or the 
strategy %s",
         invalidKeys, strategy.name());
 
+    strategy = strategy.options(options());

Review Comment:
   Yeah, while calling the validate function from test I saw the strategy 
options were not being initialised. Hence, moved it here. This helps in getting 
the different bytes/files for the groups too.



-- 
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]

Reply via email to