You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Andrew Lamb (Jira)" <ji...@apache.org> on 2021/01/28 11:46:00 UTC
[jira] [Created] (ARROW-11414) [Rust] Reduce copies in
Schema::try_merge
Andrew Lamb created ARROW-11414:
-----------------------------------
Summary: [Rust] Reduce copies in Schema::try_merge
Key: ARROW-11414
URL: https://issues.apache.org/jira/browse/ARROW-11414
Project: Apache Arrow
Issue Type: Improvement
Reporter: Andrew Lamb
https://github.com/apache/arrow/blob/ab5fc979c69ccc5dde07e1bc1467b02951b4b7e9/rust/arrow/src/datatypes.rs#L1832-L1860
I was looking at this code yesterday while using it in IOx -- https://github.com/influxdata/influxdb_iox/pull/703
Even though Schema::try_merge requires a slice of Schemas (not schema refs), it copies all of its fields. This is not ideal in the common case where most of the fields in the Schema will be the same
--
This message was sent by Atlassian Jira
(v8.3.4#803005)