You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2016/11/08 21:06:59 UTC

[jira] [Commented] (ARROW-372) Create JSON arrow file format for integration tests

    [ https://issues.apache.org/jira/browse/ARROW-372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15648792#comment-15648792 ] 

Wes McKinney commented on ARROW-372:
------------------------------------

Can you show the schema also? Thanks

> Create JSON arrow file format for integration tests
> ---------------------------------------------------
>
>                 Key: ARROW-372
>                 URL: https://issues.apache.org/jira/browse/ARROW-372
>             Project: Apache Arrow
>          Issue Type: Task
>          Components: Java - Vectors
>            Reporter: Julien Le Dem
>            Assignee: Julien Le Dem
>
> {noformat}
> {
>   "schema" : ...,
>   "batches" : [{
>     "count" : 10,
>     "columns" : [
>       {
>         "name": "{col_name_int}",
>         "count" : 10,
>         "VALIDITY" : [1,1,1,1,1,1,1,1,1,1],
>         "DATA" : [0,1,2,3,4,5,6,7,8,9]
>       },
>       { 
>         "name": "{col_name_list}",
>         "count" : 10,
>         "VALIDITY" : [1,1,1,1,1,1,1,1,1,1],
>         "OFFSET" : [0,0,1,3,3,4,6,6,7,9],
>         "children" : {
>           {
>             "name": "child_name",
>             "count" : 9,
>             "VALIDITY" : [1,1,1,1,1,1,1,1,1,1],
>             "OFFSET" : [0,3,6,9,12,15,18,21,24],
>             "DATA" : ["abc","abc","abc","abc","abc","abc","abc","abc","abc"]
>           }
>         }
>       },
>       {
>         "name": "{col_name_map}",
>         "count" : 10,
>         "VALIDITY" : [1,1,1,1,1,1,1,1,1,1],
>         "children" : {
>           {
>             "name": "{col_name_timestamp}",
>             "count" : 10,
>             "VALIDITY" : [1,1,1,1,1,1,1,1,1,1],
>             "DATA" : [0,1,2,3,4,5,6,7,8,9]
>           }
>         }
>       }
>     }, ... ]
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)