druidry
druidry copied to clipboard
Java based Druid Query Generator library
This PR adds the `doAggregateTopNMetricFirst` flag to the query context to support for selecting a `TopNAlgorithm`. https://github.com/apache/druid/blob/master/processing/src/main/java/org/apache/druid/query/topn/TopNQueryEngine.java#L140
Hi, Since we need to modify useCache in some cases, could we add @Builder(toBuilder = true) for Context? There's getter and setter for Context class in previous version, but these...
I have a requirement to process the result from scan query which has big volume. thinking of process the response chunk by chunk, do we have a support on this?
When I use JerseyClient to send a request,I got this exception: ` java.lang.NoSuchMethodError: javax.ws.rs.core.MultivaluedMap.addAll(Ljava/lang/Object;[Ljava/lang/Object;)V at org.glassfish.jersey.client.ClientRequest.accept(ClientRequest.java:335) at org.glassfish.jersey.client.JerseyWebTarget.request(JerseyWebTarget.java:222) at org.glassfish.jersey.client.JerseyWebTarget.request(JerseyWebTarget.java:60) at in.zapr.druid.druidry.client.DruidJerseyClient.query(DruidJerseyClient.java:104) at com.ane56.route.demo.druid.helper.DruidQueryHelper.query(DruidQueryHelper.java:102) at com.ane56.route.demo.service.impl.DruidDataStatisticsServiceImpl.getDataStatisticResult(DruidDataStatisticsServiceImpl.java:42) at com.ane56.route.demo.DruidTest.testDruidQuery(DruidTest.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native...
In some cases I found helpful to overwrite `Context` class and add extra/missing params. I don't think adding all params that Druid supports makes really sense but the ability to...
I would like to construct druidry query from provided json, manipulate the query and then send it into Druid. Is there any easy way to achieve this?
This PR adds a few standard aggregators that were missing. These should be of general use. They are: - DoubleMeanAggregator - StdDevPostAggregator - VarianceAggregator
There are a few standard aggregators that appear to be missing. In particular, we would like to add - DoubleMeanAggregator - StdDevPostAggregator - VarianceAggregator I hope to submit a PR...