You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "Guillem96 (via GitHub)" <gi...@apache.org> on 2023/02/13 13:57:38 UTC
[GitHub] [iceberg] Guillem96 commented on issue #6505: Python: Infer Iceberg schema from the Parquet file
Guillem96 commented on issue #6505:
URL: https://github.com/apache/iceberg/issues/6505#issuecomment-1427982818
Just for further information I'll add here a code snippet that leads to the same error message
```python
from pyiceberg.catalog import load_catalog
from pyiceberg.expressions import EqualTo
# pyiceberg.yaml
# catalog:
# default:
# type: glue
# py-io-impl: pyiceberg.io.pyarrow.PyArrowFileIO
catalog = load_catalog(
"default",
warehouse="...",
)
table = catalog.load_table(("...", "..."))
df = (
table.scan()
.filter(EqualTo("uuid", "..."))
.select("rt", "cs1", "in")
.to_arrow()
)
print(df)
```
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org