Hi,
I am reindexing segment to create hypervloglog metric using a dimension named userid. when I keep the dimension name in dimensions list and create metric using the field it works fine but if I remove the dimension from the dimension list then the matric “uniqe_user” has zero value. below is json for reindexing task.
It also gives memory timeout issue if I use two hypervloglog matrics for separate dimensions in this task. my average segment size is 200 MB (index.zip file ).
please help.
“dimensionsSpec”: {
“dimensions”: [
“segmentId”,
“userid”
],
"dimensionExclusions": [
"timestamp"
]
},
"format": "json"
}
},
"granularitySpec": {
"type": "uniform",
"segmentGranularity": "hour",
"queryGranularity": "hour"
},
"metricsSpec": [{
"type": "count",
"name": "count"
},
{
"name": "value_sum",
"type": "doubleSum",
"fieldName": "value"
},
{
"type": "hyperUnique",
"name": "uniqe_user",
"fieldName": "userid",
"isInputHyperUnique": false,
"round": false
}
]
},