xqwbx163 opened a new issue #8183: why thetaSketch type can't postAggregations?
URL: https://github.com/apache/incubator-druid/issues/8183
 
 
   i want to get amount/dist_userid, But i use that query,not success ,can you 
help me?
   
   {"intervals":["2019-07-28T16:00:00.000Z/2019-07-29T16:00:00.000Z"],
   
"granularity":"all","context":{"timeout":60000,"queryId":"0e6b3c02-bde2-4e8d-9aa8-40d3453548cc"},
   "queryType":"timeseries","dataSource":"data",
   "aggregations":
   [{"type":"doubleSum","name":"amount","fieldName":"dollar"},
   { "type": "thetaSketch", "name": "dist_userid", "fieldName": 
"userid","isInputThetaSketch": false,"size": 1048576 }],
   "postAggregations":[
       {"type":"arithmetic","name":"avg_orderotal_totalqty","fn":"/",
   
"fields":[{"type":"fieldAccess","fieldName":"amount"},{"type":"fieldAccess","fieldName":"dist_userid"}]}
   ] 
   }

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to