Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-367

"parquet-cat -j" doesn't show all records

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.0, 1.8.1, 1.9.0
    • 1.9.0
    • parquet-mr
    • None

    Description

      Inspect the attached Parquet file generated by parquet-proto to reproduce this issue:

      $ parquet-cat old-repeated-int.parquet
      repeatedInt = 1
      repeatedInt = 2
      repeatedInt = 3
      
      $ parquet-cat -j old-repeated-int.parquet
      {"repeatedInt":3}
      

      Expected output should be something like

      {"repeatedInt":[1,2,3]}
      

      Schema of the attached testing Parquet file is:

      message TestProtobuf.RepeatedIntMessage {
        repeated int32 repeatedInt;
      }
      

      Attachments

        1. old-repeated-int.parquet
          0.4 kB
          Cheng Lian

        Issue Links

          Activity

            People

              sircodesalot Reuben Kuhnert
              lian cheng Cheng Lian
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: