ryan-williams commented on issue #39399:
URL: https://github.com/apache/arrow/issues/39399#issuecomment-1874095061
Metadata and schemas all appear equal:
```python
from pyarrow.parquet import ParquetFile
import requests
from io import BytesIO
def get_parquet_file(os, engine='pyarrow', compression='snappy'):
url =
f'https://github.com/runsascoded/parquet-diff-test/raw/{os}/out/{engine}/{compression}/empty.parquet'
return ParquetFile(BytesIO(requests.get(url).content))
ubuntu_pf = get_parquet_file('ubuntu')
windows_pf = get_parquet_file('windows')
macos_pf = get_parquet_file('macos')
print(ubuntu_pf.schema.equals(macos_pf.schema),
ubuntu_pf.schema.equals(windows_pf.schema))
# True True
print(ubuntu_pf.metadata.to_dict() == macos_pf.metadata.to_dict(),
ubuntu_pf.metadata.to_dict() == windows_pf.metadata.to_dict())
# True True
```
--
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]