[
https://issues.apache.org/jira/browse/ARROW-11414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Lamb updated ARROW-11414:
--------------------------------
Component/s: Rust
> [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
> Components: Rust
> Reporter: Andrew Lamb
> Assignee: Andrew Lamb
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 50m
> Remaining Estimate: 0h
>
> 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)