prodeezy commented on a change in pull request #498: Adding partition transform
builder methods to set custom target field names
URL: https://github.com/apache/incubator-iceberg/pull/498#discussion_r328903596
##########
File path: api/src/main/java/org/apache/iceberg/PartitionSpec.java
##########
@@ -331,7 +331,11 @@ private Builder(Schema schema) {
this.schema = schema;
}
- private void checkAndAddPartitionName(String name) {
+ private void checkAndAddPartitionName(String name, String transform) {
+ if (!transform.equalsIgnoreCase("identity")) {
Review comment:
Done. Only change I made to your logic is I handled both cases in separate
if-else condition blocks as the identity case is unique from the other
transform cases.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]