szehon-ho commented on issue #5370: URL: https://github.com/apache/iceberg/issues/5370#issuecomment-1197289564
@cccs-jc yea it is a pain, the way I know is via the Iceberg API's, I'm not sure if we can easily write a udf or not. ``` // for a given column id -> binary Types.NestedField field = table().schema().findField(id); Transforms.identity(field.type()).toHumanString(Conversions.fromByteBuffer(field.type(), binary)); ``` im working on this actually : https://github.com/apache/iceberg/issues/4362, I hope to have a first version of pr in next day or so -- 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]
