moriyoshi opened a new pull request, #8144:
URL: https://github.com/apache/iceberg/pull/8144

   Fixes #7451.  I'm going to finalize it once I get the tests ready.
   
   ## Design note
   
   In this PR, thw following two new keyword arguments are introduced to 
`Table.to_pyarrow`, `Table.to_pandas', and likewise.
   
   * `matched_with_field_name` (bool)
       * Setting this to `True` instructs it to map fields between the data 
file (pyarrow) schema and Iceberg schema by names, when the mapping by field 
ids is not feasible.  Setting this to `False` willl keep it adhering to the 
normal behavior.
   * `ignore_unprojectable_fields` (bool)
       * Setting this to `True` instructs it to ignore fields that are present 
in the data file (pyarrow) schema, but absent in the Iceberg schema.
    


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