Commits

Wes McKinney authored e876abbdf4f
ARROW-898: [C++/Python] Use shared_ptr to avoid copying KeyValueMetadata, add to Field type also This also adds support for adding and removing schema-level metadata to the Python Schema wrapper object. Need to do the same for Field but putting this up for @cpcloud to review since he's working on using this in parquet-cpp Author: Wes McKinney <wes.mckinney@twosigma.com> Closes #605 from wesm/ARROW-898 and squashes the following commits: 03873f7 [Wes McKinney] RemoveMetadata not return Status c621c2c [Wes McKinney] Add metadata methods to Field, some code cleaning 581b9fa [Wes McKinney] Add unit tests for passing metadata to Field constructor 51fae29 [Wes McKinney] Add metadata to Field 2ce4003 [Wes McKinney] Test sharing metadata 48aa3ca [Wes McKinney] Use shared_ptr<const T> for KeyValueMetadata so metadata can be shared / not copied