Closed sc-aniagr closed 8 months ago
You can use and extend druidry
You can just send the query via POST request to YOUR_DRUID_INSTANCE/druid/v2
with the query itself being a JSON with the request body :)
This issue has been marked as stale due to 280 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@druid.apache.org list. Thank you for your contributions.
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.
I want to make native timeseries query (Json format) example :
{ "queryType":"timeseries", "dataSource":"xyz", "intervals":[ "2022-12-18T00:00:00.000/2022-12-19T23:59:59.000" ], "granularity":"day", "aggregations":[ { "type":"doubleSum", "name":"count", "fieldName":"pqr" } ], "context":{ "skipEmptyBuckets":"false" } }
I want to put this type of query to druid through java springboot application. Can someone suggestions how can this be achieved? i tried through feign client SQL broker but that did not help. Suggestion would be appreciated.