laithalzyoud opened a new issue, #7849:
URL: https://github.com/apache/iceberg/issues/7849

   ### Feature Request / Improvement
   
   Hello!
   
   This is just a small improvement request to make field names in 
[PartitionSpec](https://github.com/apache/iceberg/blob/master/api/src/main/java/org/apache/iceberg/PartitionSpec.java#L519-L521)
 and 
[UpdatePartitionSpec](https://github.com/apache/iceberg/blob/master/core/src/main/java/org/apache/iceberg/BaseUpdatePartitionSpec.java#L516-L518)
 consistent. 
   
   Currently if you query the $partitions metadata table, you get the partition 
name as `col_bucket` if the partition spec was never evolved and you get 
`col_bucket_4` if the the partition spec evolved for the same partition. This 
inconsistency make code changes necessary on the client side if they use the 
$partitions table to handle both cases.
   
   The suggestion is to make the field name always `sourceName + "_bucket_" + 
numBuckets` for the base PartitionSpec to make it consistent 👍 
   
   ### Query engine
   
   None


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