From 23c6aa3ca5c413fa7ed731c1cece7308258d7c0a Mon Sep 17 00:00:00 2001 From: Ayush Shah Date: Mon, 16 Sep 2024 18:02:17 +0530 Subject: [PATCH] fix: add children to array of struct (#17850) --- .../examples/sample_data/datasets/tables.json | 21 +++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/ingestion/examples/sample_data/datasets/tables.json b/ingestion/examples/sample_data/datasets/tables.json index b3a24419d2e..7669bc8ec57 100644 --- a/ingestion/examples/sample_data/datasets/tables.json +++ b/ingestion/examples/sample_data/datasets/tables.json @@ -1604,10 +1604,23 @@ }, { "name": "shipping_address", - "dataType": "ARRAY", - "arrayDataType": "STRUCT", - "dataTypeDisplay": "array>", - "tags": [] + "dataType": "ARRAY", + "arrayDataType": "STRUCT", + "dataTypeDisplay": "array>>", + "children": [ + { + "dataType": "STRING", + "dataTypeDisplay": "string", + "name": "type" + }, + { + "dataType": "ARRAY", + "arrayDataType": "INT", + "dataTypeDisplay": "array", + "name": "provider" + } + ], + "tags": [] }, { "name": "orders",