sl255051 commented on PR #10678: URL: https://github.com/apache/iceberg/pull/10678#issuecomment-2257241120
@rdblue I am not certain I understand your suggested path forward. Are you suggesting some edit like this at the bottom of PartitionSpec.Builder.checkAndAddPartitionName? ``` String partitionName = schemaField != null ? schemaField.name() : name; Preconditions.checkArgument(!partitionName.isEmpty(), "Cannot use empty partition name: %s", name); Preconditions.checkArgument( !partitionNames.contains(partitionName), "Cannot use partition name more than once: %s", name); partitionNames.add(partitionName); } ``` -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org