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: 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

Reply via email to