Thanks Maarten,
It works. You're really helpfull. Thanks again.
Best Regards,
Aaron Chu
On Wed, Nov 27, 2019 at 10:18 PM Maarten Ballintijn
wrote:
> Hi Aaron,
>
> The schema is immutable, add_metadata returns a new schema object which
> includes the metadata.
> So I thin
e schema.
This issue can be easily reproduced on python2 and 3:
import pyarrow as pa
schema = pa.schema([pa.field('Event_ID', pa.int64())])
meta = {}
meta['test'] = 'testval'
schema.add_metadata(meta)
#schema.with_metadata(meta)
schema.metadata
Thanks for your hel