dimas-b opened a new pull request, #5067:
URL: https://github.com/apache/iceberg/pull/5067
Positional accessors can be helpful to getting Row values
that are not primitive. Even though there does not appear
to be any use cases for this in the Iceberg codebase itself,
it seems logical to extends Accessors to support this to
allow external tools to use Accessors uniformly across all
column types.
* Update PositionAccessor to use appropriate javaClass in
get operations targeting composite values types (List, Map,
Struct).
* Generate individual positional accessors for Struct fields
to allow getting them as an Object. Previously, nested structs
could only be accessed field-by-field.
Note: Accessing Struct fields nested in Lists and Maps is
not supported.
/cc @nastra , @ajantha-bhat
--
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]