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

Cheng Lian updated PARQUET-367:
-------------------------------
    Description: 
Inspect the attached Parquet file generated by parquet-proto to reproduce this 
issue:
{noformat}
$ parquet-cat old-repeated-int.parquet
repeatedInt = 1
repeatedInt = 2
repeatedInt = 3

$ parquet-cat -j old-repeated-int.parquet
{"repeatedInt":3}
{noformat}
Expected output should be something like
{noformat}
{"repeatedInt":[1,2,3]}
{noformat}
Schema of the attached testing Parquet file is:
{noformat}
message TestProtobuf.RepeatedIntMessage {
  repeated int32 repeatedInt;
}
{noformat}

  was:
Inspect the attached Parquet file to reproduce this issue:
{noformat}
$ parquet-cat old-repeated-int.parquet
repeatedInt = 1
repeatedInt = 2
repeatedInt = 3

$ parquet-cat -j old-repeated-int.parquet
{"repeatedInt":3}
{noformat}


> "parquet-cat -j" doesn't show all records
> -----------------------------------------
>
>                 Key: PARQUET-367
>                 URL: https://issues.apache.org/jira/browse/PARQUET-367
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-mr
>    Affects Versions: 1.8.0, 1.8.1, 1.9.0
>            Reporter: Cheng Lian
>            Assignee: Reuben Kuhnert
>         Attachments: old-repeated-int.parquet
>
>
> Inspect the attached Parquet file generated by parquet-proto to reproduce 
> this issue:
> {noformat}
> $ parquet-cat old-repeated-int.parquet
> repeatedInt = 1
> repeatedInt = 2
> repeatedInt = 3
> $ parquet-cat -j old-repeated-int.parquet
> {"repeatedInt":3}
> {noformat}
> Expected output should be something like
> {noformat}
> {"repeatedInt":[1,2,3]}
> {noformat}
> Schema of the attached testing Parquet file is:
> {noformat}
> message TestProtobuf.RepeatedIntMessage {
>   repeated int32 repeatedInt;
> }
> {noformat}



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

Reply via email to