Fokko commented on PR #532:
URL: https://github.com/apache/iceberg-python/pull/532#issuecomment-2006356086
Thanks @ndrluis for adding this, and @kevinjqliu for joining the
conversation 👍
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on
Fokko merged PR #532:
URL: https://github.com/apache/iceberg-python/pull/532
--
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.
kevinjqliu commented on PR #532:
URL: https://github.com/apache/iceberg-python/pull/532#issuecomment-2005060452
(reposting from slack)
This is great. Exposing the Iceberg Table's schema as pyarrow schema will
also solve the problem I was having here
https://github.com/apache/iceb
Fokko commented on code in PR #532:
URL: https://github.com/apache/iceberg-python/pull/532#discussion_r1529234952
##
pyiceberg/schema.py:
##
@@ -180,6 +182,12 @@ def as_struct(self) -> StructType:
"""Return the schema as a struct."""
return StructType(*self.fie
ndrluis opened a new pull request, #532:
URL: https://github.com/apache/iceberg-python/pull/532
Use case
```
import pyarrow as pa
import pandas as pd
table = catalog.load_table('some_schema.table_name')
schema = table.schema().as_arrow()
data = {
'id_job':