You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2018/12/09 19:29:00 UTC

[jira] [Resolved] (ARROW-3303) [C++] Enable example arrays to be written with a simplified JSON representation

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

Wes McKinney resolved ARROW-3303.
---------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 0.13.0)
                   0.12.0

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

> [C++] Enable example arrays to be written with a simplified JSON representation
> -------------------------------------------------------------------------------
>
>                 Key: ARROW-3303
>                 URL: https://issues.apache.org/jira/browse/ARROW-3303
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Wes McKinney
>            Assignee: Antoine Pitrou
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.12.0
>
>          Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> In addition to making it easier to generate random data as described in ARROW-2329, I think it would be useful to reduce some of the boilerplate associated with writing down explicit test cases. The benefits of this will be especially pronounced when writing nested arrays. 
> Example code that could be improved this way:
> https://github.com/apache/arrow/blob/master/cpp/src/arrow/array-test.cc#L3271
> Rather than having a ton of hand-written assertions, we could compare with the expected true dataset. Of course, this itself has to be tested endogenously, but I think we can write enough tests for the JSON parser bit to be able to have confidence in tests that are written with it



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)