Re: PyArrow.Table schema.metadata issue

2019-11-29 Thread Aaron Chu
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 think this does what you w

Re: PyArrow.Table schema.metadata issue

2019-11-27 Thread Maarten Ballintijn
Hi Aaron, The schema is immutable, add_metadata returns a new schema object which includes the metadata. So I think this does what you want: schema = schema.add_metadata(meta) If not, experts will chime in hopefully. Cheers, Maarten. > On Nov 28, 2019, at 12:41 AM, Aaron Chu wrote: > > De

Re: PyArrow.Table schema.metadata issue

2019-11-27 Thread Aaron Chu
Dear all, I need your help regarding the pyarrow.table.schema. I tried to create a schema and use with_metadata/add_metadata functions to add the metadata (a python dict) to the schema. However, nothing showed up when I run 'schema.metadata'. I can't get the metadata added to the schema. This is