AbdelouahabKhelifati opened a new issue #12372:
URL: https://github.com/apache/druid/issues/12372


   Please provide a detailed title (e.g. "Broker crashes when using TopN query 
with Bound filter" instead of just "Broker crashes").
   
   ### Affected Version
   
   Druid 0.22.0 
   
   ### Description
   
   I am running Druid with the following conf: 
   
   ```
   druid.service=druid/broker
   druid.plaintextPort=8082
   
   # HTTP server settings
   druid.server.http.numThreads=60
   druid.server.http.maxSubqueryRows = 100000000
   # HTTP client settings
   druid.broker.http.numConnections=50
   druid.broker.http.maxQueuedBytes=10MiB
   
   # Processing threads and buffers
   druid.processing.buffer.sizeBytes=500MiB
   druid.processing.numMergeBuffers=16
   druid.processing.numThreads=1
   druid.processing.tmpDir=var/druid/processing
   
   # Query cache disabled -- push down caching and merging instead
   druid.broker.cache.useCache=false
   druid.broker.cache.populateCache=false
   
   druid.extensions.loadList=["druid-stats"]  
   ```
   
   Then, I try to run a simple Standard Deviation query as follows: 
   
   ```
   select STDDEV("value")
   from mytable
   ```
   
   However, I keep having the following error: 
   
   ```
   Error: Unknown exception
   
   Could not resolve type id 'variance' as a subtype of 
`org.apache.druid.query.aggregation.AggregatorFactory`: known type ids = 
[HLLSketchBuild, HLLSketchMerge, arrayOfDoublesSketch, cardinality, count, 
doubleAny, doubleFirst, doubleLast, doubleMax, doubleMean, doubleMin, 
doubleSum, expression, filtered, floatAny, floatFirst, floatLast, floatMax, 
floatMin, floatSum, grouping, histogram, hyperUnique, javascript, longAny, 
longFirst, longLast, longMax, longMin, longSum, quantilesDoublesSketch, 
quantilesDoublesSketchMerge, sketchBuild, sketchMerge, stringAny, stringFirst, 
stringFirstFold, stringLast, stringLastFold, thetaSketch] (for POJO property 
'aggregations') at [Source: (org.eclipse.jetty.server.HttpInputOverHTTP); line: 
-1, column: 1242] (through reference chain: 
org.apache.druid.query.timeseries.TimeseriesQuery["aggregations"]->java.util.ArrayList[0])
   
   com.fasterxml.jackson.databind.exc.InvalidTypeIdException
   ```
   
   I am using Druid version 0.22.0. 
   
   How could this be solved? 
   
   Thanks!
   
   
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to