rdblue commented on PR #10724: URL: https://github.com/apache/iceberg/pull/10724#issuecomment-2261582583
I just talked offline with @amogh-jahagirdar about a better way to do this. Systems that store information in strings should have ways to parse those strings to recover the data, and I think that it is important to use those parsing utilities rather than trying to maintain code in Iceberg that mimics their behavior. The right solution is to use the parsing utility from Delta and wrap the values in `PartitionData` to pass into the builder for `DataFile` metadata. In general, Iceberg has always considered partition strings to be a one-way transform. We produce the strings, but don't attempt to make values recoverable. The parsing code here is extremely simple for Hive table conversions and should not generally be used -- a much better pattern is the one I outlined above. -- 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]
