[ 
https://issues.apache.org/jira/browse/ARROW-9519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated ARROW-9519:
----------------------------------
    Labels: pull-request-available  (was: )

> [Rust] Improve error message when getting a field by name from schema
> ---------------------------------------------------------------------
>
>                 Key: ARROW-9519
>                 URL: https://issues.apache.org/jira/browse/ARROW-9519
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Rust
>            Reporter: Jorge
>            Assignee: Jorge
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, when a name that does not exist on the Schema is passed to 
> {{Schema::index_of}}, the error message is just the name itself. This makes 
> it a bit difficult to debug.
>  
> I propose that we change the that error message to something like
> {{Unable to get field named "nickname". Valid fields: ["first_name", 
> "last_name", "address"]}}
> to make it easier to understand.



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

Reply via email to