ahmedabu98 commented on issue #11900: URL: https://github.com/apache/iceberg/issues/11900#issuecomment-2605514697
We convert it to a String because with Beam's distributed data processing framework, it's best practice to deconstruct custom Java objects to built-in types when passing data over the wire (as opposed to direct byte serialization that can change from one version to the next). For this scenario, we are deconstructing the DataFile to built-in java types, then reconstructing it later on. `file.partition()` returns a generic StructLike which is hard to reason about, so we manually build a partition path. Is there a better way to go around it? Maybe some Iceberg utils that we're not aware of? -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org