jorisvandenbossche commented on PR #51151:
URL: https://github.com/apache/arrow/pull/51151#issuecomment-6085455796
I was wondering how this could actually have caused such behaviour change,
because essentially before this PR it was replacing _identical_ pandas
metadata.
But it seems replacing the schema metadata at the moment impacts the table:
```python
>>> table = pa.table({"a": [1, 2, 3]}).select([])
>>> table.num_rows
3
>>> table = table.replace_schema_metadata({"test": "value"})
>>> table.num_rows
0
```
That seems like an actual bug in pyarrow.
--
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]