Aditya Verma
01/06/2025, 7:32 AMselect sum(someColumn), userId
from tablename
where timestamp > somevalue and timestamp < value
group by userId
also can I use json_index on my json nestes fields in my data
like
"shoppinh": [
{
"item": "sugar",
"value": 4
},
{
"item": "sandwich",
"value": 6
}
]
"enableDefaultStarTree": false,
"nullHandlingEnabled": false,
"bloomFilterColumns": [],
"onHeapDictionaryColumns": [],
"rangeIndexColumns": [],
"sortedColumn": [],
"rangeIndexVersion": 2,
"optimizeDictionary": false,
"loadMode": "MMAP",
"autoGeneratedInvertedIndex": true,
"varLengthDictionaryColumns": [],
"optimizeDictionaryForMetrics": false,
"enableDynamicStarTreeCreation": false,
"columnMajorSegmentBuilderEnabled": true,
"noDictionarySizeRatioThreshold": 0.85
I cant see a json index value to mention my json columns
Thats my table configMayank