Hi,
I have created a lookup and registered with tier name ‘__default’ and lookupId name ‘site_id’.
This is my lookup query:
{
“queryType”: “groupBy”,
“intervals”: [“2018-11-17/2018-11-30”],
“granularity”: “all”,
“metric”: “cost”,
“dataSource”: {
“name”: “throughput”,
“type”: “table”
},
“aggregations”: [{
“fieldName”: “cost”,
“name”: “cost”,
“type”: “doubleSum”
}],
“postAggregations”: ,
“dimension”: {
“type”: “extraction”,
“dimension”: “user_id”,
“outputName”: “user_name”,
“extractionFn”: {
“type”:“registeredLookup”,
“lookup”:“site_id”
},
“replaceMissingValueWith”: “MISSING”,
“retainMissingValue”: false
},
“threshold”: 1000,
“limitSpec”: {
“type”: “default”,
“limit”: 500
}
}
When I am running this query
curl -L -H’Content-Type: application/json’ -XPOST --data-binary @quickstart/users-query.json http://localhost:8082/druid/v2/?pretty
I am not getting any result.
I have also added “`druid.lookup.lookupTier=__default” and “```druid.lookup.lookupTierIsDatasource=false” in broker/runtime.properties.``
Can you please help me where else I have to make changes.
Thanks