jorisvandenbossche commented on issue #11935:
URL: https://github.com/apache/arrow/issues/11935#issuecomment-992555111
Arrow itself has a concept of "field-level" metadata as well (which
corresponds to the column). Eg in python:
```python
>>> table = pa.table({"a": [1, 2, 3], "b": [4, 5, 6]})
>>> field_a = table.schema.field("a")
>>>field_a
pyarrow.Field<a: int64>
>> field_a = field_a.with_metadata({"a": "long name"})
>>> field_a.metadata
{b'a': b'long name'}
```
But it's a bit convoluted to then create a schema with this field with
metadata added.
This field metadata gets mapped to Parquet field-level metadata as well. And
I think you can access this in R as ``table$schema$a$metadata``
--
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]