You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jorge (Jira)" <ji...@apache.org> on 2020/07/18 06:21:00 UTC
[jira] [Created] (ARROW-9519) [Rust] Improve error message when
getting a field by name from schema
Jorge created ARROW-9519:
----------------------------
Summary: [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
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)