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

   > The right pc.field instanciation is  pc.field('employment', 'status') and 
not  pc.field('employment.status') for pyarrow.
   
   THANK YOU! It took me forever yesterday and I still couldn't find how to 
access pyarrow nested fields. It was hidden in the `pyarrow.dataset.field` 
documentation all along!! Maybe someone will find this comment via Google next 
time.
   
   pyarrow.dataset.field(*name_or_index)
   *name_or_indexstr, multiple strings, tuple or int 
   The name or index of the **(possibly nested) field the expression** 
references to.
   


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