kevinjqliu opened a new issue, #1655:
URL: https://github.com/apache/iceberg-python/issues/1655

   ### Feature Request / Improvement
   
   Context: 
https://github.com/apache/iceberg-python/pull/1614#issuecomment-2641089912
   Copying the comment over:
   Separately, rather than adding more library-specific conversion code, it 
might make sense for pyiceberg to start leveraging the [PyCapsule 
protocol](https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html)
 to allow any third party library (dataframe or otherwise) that supports Arrow 
data to seamlessly consume pyiceberg constructs.
   
   Polars already supports the PyCapsule interface. See 
https://docs.pola.rs/user-guide/misc/arrow/#using-the-arrow-pycapsule-interface 
for details.
   
   Implementing the interface on e.g. pyiceberg tables would allow them to be 
passed directly to dataframe init in polars, just like you can do a pyarrow 
table today. It also doesn't assume anything about polars support/doesn't add a 
dependency on polars.
   
   
   cc @corleyma if you would like to provide more context :) 
   


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