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: [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