You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Andy Grove (Jira)" <ji...@apache.org> on 2020/07/20 18:26:00 UTC
[jira] [Resolved] (ARROW-9519) [Rust] Improve error message when
getting a field by name from schema
[ https://issues.apache.org/jira/browse/ARROW-9519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Grove resolved ARROW-9519.
-------------------------------
Fix Version/s: 1.0.0
Resolution: Fixed
Issue resolved by pull request 7795
[https://github.com/apache/arrow/pull/7795]
> [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
> Fix For: 1.0.0
>
> Time Spent: 40m
> 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)