[ 
https://issues.apache.org/jira/browse/ARROW-8205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17087699#comment-17087699
 ] 

Wes McKinney commented on ARROW-8205:
-------------------------------------

Correct, it should probably be the responsibility of application logic (e.g. in 
DataFusion or other analytics applications) to assert the uniqueness of field 
names

> [Rust] Arrow should enforce unique field names in a schema
> ----------------------------------------------------------
>
>                 Key: ARROW-8205
>                 URL: https://issues.apache.org/jira/browse/ARROW-8205
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Rust
>    Affects Versions: 0.16.0
>            Reporter: Andy Grove
>            Priority: Major
>             Fix For: 1.0.0
>
>
> There does not seem to be any validation to avoid schemas being created with 
> duplicate field names. We should add this along with unit tests.
> This will require changing the signature of the constructors to try_new with 
> a Result return type.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to