Young Seok (Tony) Kim
06/07/2022, 9:22 PMtableIndexConfig
,
"tableIndexConfig": {
"starTreeIndexConfigs": [{
"dimensionsSplitOrder": [
"Country",
"Browser",
"Locale"
],
"skipStarNodeCreationForDimensions": [
],
"functionColumnPairs": [
"SUM__Impressions"
],
"maxLeafRecords": 1
}],
...
}
Is there a way to specify a JSON key column within the dimensionSplitOrder
?
For example, if we have a column named person
having a JSON value such as { "number" : 112, "street" : "main st", "country" : "us" }
, can we add "country"
as one of the dimensionsSplitOrder
?Kishore G
Jackie
06/07/2022, 10:53 PMJSON_MATCH
of JSON_EXTRACT
, and star-tree needs to understand the semantic of the query in order to answer it. Since you already know the dimensions, you may use the complex type handling feature to flatten the json into columns, then apply star-tree on these columnsKishore G
Jackie
06/08/2022, 3:45 AMKishore G
Jackie
06/08/2022, 4:55 PM