cfrancois7 commented on issue #953:
URL: https://github.com/apache/iceberg-python/issues/953#issuecomment-2244507059

   I tested many approach to understand what is the expected after the parser. 
The issue is only about the NestedField of the StructType became available to 
the row filter.
   
   By the way the projection, so `select` works fine.
   ```
   In:
   >>> table.scan(
   >>>    selected_fields=['employment.status']
   >>>    ).to_pandas()
   
   Out:
                       employment
   0       {'status': 'Employed'}
   1  {'status': 'Self-employed'}
   2     {'status': 'Unemployed'}
   3       {'status': 'Employed'}
   4         {'status': 'Intern'}
   
   In:
   >>> table.scan(
   >>>    selected_fields=['employment.company.name']
   >>>    ).to_pandas()
   
   Out:
                                   employment
   0       {'company': {'name': 'Tech Corp'}}
   1       {'company': {'name': 'Freelance'}}
   2              {'company': {'name': None}}
   3  {'company': {'name': 'Data Solutions'}}
   4  {'company': {'name': 'Market Masters'}}
   ```


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

Reply via email to