apache / iceberg-rust

Apache Iceberg
https://rust.iceberg.apache.org/
Apache License 2.0
477 stars 97 forks source link

Add Struct Accessors to BoundReferences #317

Closed sdd closed 3 months ago

sdd commented 3 months ago

First PR to come out of breaking up https://github.com/apache/iceberg-rust/pull/241.

Adds StructAccessor, which is added to BoundReference as a means of retrieving a field's value from a (possibly nested) Struct.

sdd commented 3 months ago

PTAL @liurenjie1024 and @marvinlanhenke - extracted from https://github.com/apache/iceberg-rust/pull/241 and added tests

sdd commented 3 months ago

@liurenjie1024 I've added a test as well now for build_accessors :-)