Closed puchengy closed 1 year ago
Hey @puchengy thanks for raising this!
I was unsure about this because 141: spec-id
is not mentioned in the spec, but it looks like we can add it: https://github.com/apache/iceberg/pull/8730
@Fokko Hi, I thought we already have that https://github.com/apache/iceberg/blob/pyiceberg-0.4.0rc2/python/pyiceberg/manifest.py#L162 or is this not what you meant?
@Fokko And based on the https://github.com/apache/iceberg/pull/8730 it seems that we would like to inherent the spec id from manifest file as well? https://github.com/apache/iceberg-python/blob/ce8535851653b7c0290b8222f40a4c3e507ba39e/pyiceberg/manifest.py#L497
@Fokko do you know?
@puchengy Sorry for not replying. I think we can include this in the next release, it shouldn't be too hard to carry this information from the manifest-list
Apache Iceberg version
None
Please describe the bug 🐞
v1 data file spec_id is optionally, but it seems spark is able to recognize the spec_id, but pyiceberg can't, any idea why?
spark
pyiceberg (0.4.0)