srilman opened a new pull request, #1832:
URL: https://github.com/apache/iceberg-python/pull/1832
Closes #1778.
# Rationale for this change
Current, filters that are applied to the top-level struct column do not
work. For example, given a table of schema:
```
table {
2: id: optional int
1: data: required string
3: location: struct<5: latitude: optional float, 6: longitude: optional
float>
}
```
We want to support applying filters to field `location`, such as `location
is not null`. Note that filters like `location == {"latitude": ...,
"longitude": ...}` wont work right now, but can be equivalently rewritten to
`location.latitude == ... and location.longitude == ...`.
# Are these changes tested?
Yes, tests were added at both the schema level and table reads.
# Are there any user-facing changes?
Support some basic filters on struct columns at the top-level.
--
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]