rdblue commented on code in PR #4902:
URL: https://github.com/apache/iceberg/pull/4902#discussion_r913214441
##########
spark/v3.2/spark/src/main/java/org/apache/iceberg/spark/actions/BaseRewriteDataFilesSparkAction.java:
##########
@@ -141,6 +141,8 @@ public RewriteDataFiles sort() {
@Override
public RewriteDataFiles zOrder(String... columnNames) {
+ Preconditions.checkArgument(this.strategy == null,
+ "Cannot set strategy to zOrder, it has already been set to %s",
this.strategy);
Review Comment:
`zorder` instead of `zOrder`?
--
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]