JacobHayes commented on issue #38575:
URL: https://github.com/apache/arrow/issues/38575#issuecomment-2094276951
I came across this too - it also appears to also happen if you pass a
`pa.struct` into `pa.schema`, eg:
```python
[I] ~/s/g/a/artigraph (misc|●4✚3) $ python3
Python 3.12.2 (main, May 3 2024, 17:50:09) [Clang 15.0.0
(clang-1500.3.9.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyarrow as pa
>>> pa.__version__
'16.0.0'
>>> pa.schema([pa.field("test", pa.int64())], metadata={"a": "b"})
test: int64
-- schema metadata --
a: 'b'
>>> pa.schema(pa.struct([pa.field("test", pa.int64())]), metadata={"a": "b"})
test: int64
```
--
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]