You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Miles Granger (Jira)" <ji...@apache.org> on 2022/11/09 11:34:00 UTC

[jira] [Created] (ARROW-18295) [C++] FieldRef::FineAll/FindOne(DataType) improve error

Miles Granger created ARROW-18295:
-------------------------------------

             Summary: [C++] FieldRef::FineAll/FindOne(DataType) improve error
                 Key: ARROW-18295
                 URL: https://issues.apache.org/jira/browse/ARROW-18295
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: Miles Granger
            Assignee: Miles Granger
             Fix For: 11.0.0


[GitHub PR 14495 | https://github.com/apache/arrow/pull/14495] adds support for {{struct_field}} to accept string field names (as well as a mix of indices/strings). A side effect is the error produced by {{FieldRef::FindOne}} and by proxy {{FieldRef::FindAll}} does not give as good of an error as the previous {{StructFieldFunctor::CheckIndex}} did. 

See the [GitHub discussion here for more context | https://github.com/apache/arrow/pull/14495#discussion_r1016325430]

It would be good to have a similar error message given when using {{FieldRef::FineOne}} in on a {{DataType}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)