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

"parquet-tools cat -j" should not output metadata

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.11.1
    • Fix Version/s: None
    • Component/s: parquet-mr
    • Labels:
      None

      Description

      Parquet-tools cat -help says:

      parquet-tools cat:
      Prints the content of a Parquet file. The output contains only the data, no
      metadata is displayed
      

      Let's say I have a structure like this in a Parquet file:

      {
         "account": 
         [
      		{
      			"accountDepositType": "NA",
      			"accountNumber": "NA",
      			"accountHolderType": "NA"
      		}
      	]
      }
      

      it is extracted like this

      {
         "account": {
      		"list": [
      			{
      				"element": {
      					"accountDepositType": "NA",
      					"accountNumber": "NA",
      					"accountHolderType": "NA"
      				}
      			}
      		]
      	}
      }
      

      "list" and "element" is metadata or type information if you like and it should not appear in output.

      Can you please fix that ?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dumitru21 Dumitru Husleag
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: