Skip to content

Creating a File WIth Nested Array Columns

Selfeer edited this page Nov 12, 2024 · 1 revision

Nested Array

Full example here

    {
      "name": "attributes",
      "schemaType": "repeatedGroup",
      "logicalType": "INT32",
      "fields": [
        {
          "name": "key_value",
          "schemaType": "repeatedGroup",
          "fields": [
            {
              "name": "key",
              "schemaType": "required",
              "physicalType": "BINARY",
              "logicalType": "STRING"
            },
            {
              "name": "value",
              "schemaType": "optional",
              "physicalType": "BINARY",
              "logicalType": "STRING"
            }
          ]
        }
      ],
      "data": [{"key_value": [{"key": "tqwqmcqvqo", "value": "gkqcl"}]}]
    }
Clone this wiki locally