You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2021/07/19 19:13:00 UTC

[jira] [Resolved] (ARROW-13381) [C++] ArrayFromJSON doesn't work for float value dictionary type

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

David Li resolved ARROW-13381.
------------------------------
    Fix Version/s: 5.0.0
       Resolution: Fixed

Issue resolved by pull request 10746
[https://github.com/apache/arrow/pull/10746]

> [C++] ArrayFromJSON doesn't work for float value dictionary type
> ----------------------------------------------------------------
>
>                 Key: ARROW-13381
>                 URL: https://issues.apache.org/jira/browse/ARROW-13381
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Niranda Perera
>            Assignee: Eduardo Ponce
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 5.0.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> The following code returns a NotImplemented error. It works without a problem for int/ string type values.
> {code:java}
> auto arr = ArrayFromJSON(dictionary(int32(), float32()), "[1, 1000]");
> // output 
> -- Arrow Fatal Error --
> NotImplemented: JSON conversion to dictionary<values=float, indices=int32, ordered=0> not implemented
> Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
> {code}



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