You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2022/10/25 07:44:00 UTC
[jira] [Resolved] (ARROW-18144) [C++] Improve JSONTypeError error message in testing
[ https://issues.apache.org/jira/browse/ARROW-18144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou resolved ARROW-18144.
------------------------------------
Resolution: Fixed
Issue resolved by pull request 14486
[https://github.com/apache/arrow/pull/14486]
> [C++] Improve JSONTypeError error message in testing
> ----------------------------------------------------
>
> Key: ARROW-18144
> URL: https://issues.apache.org/jira/browse/ARROW-18144
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Jin Shang
> Assignee: Jin Shang
> Priority: Minor
> Labels: pull-request-available
> Fix For: 11.0.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> If there is a type error, ArrayFromJSON returns an error message like "Invalid: Expected unsigned int or null, got JSON type 4", where JSON type 4 is a value of type rapidjson::Type enum. It is better to print type names rather than enum values such as "Invalid: Expected unsigned int or null, got JSON type array".
--
This message was sent by Atlassian Jira
(v8.20.10#820010)