anshu-makkar opened a new issue, #16539: URL: https://github.com/apache/druid/issues/16539
Getting Exception when using PostAggregator `arrayOfDoublesSketchConstant` in the groupby Query. ### Affected Version Currently running, Druid version 25.0.0 with custom jar for Datasketches, trying to use the latest druid with postaggregator `arrayOfDoublesSketchConstant` ### Description Getting an exception : ``` { "error": "Unknown exception", "errorMessage": "Unhandled exception made it to the top", "errorClass": "com.fasterxml.jackson.databind.exc.ValueInstantiationException", "host": "X.X.X.X" } ``` Example Query ``` { "dataSource": { "type": "table", "name": "brq" }, "context": { "queryId": "4d516332-92f3-4f6b-a19f-760f0865653d", "timeout": 120000 }, "queryType": "groupBy", "intervals": [ "2024-05-23T00:00:00.000Z/2024-06-02T00:00:00.000Z" ], "granularity": "hour", "filter": { "type": "and", "fields": [ { "type": "and", "fields": [ { "type": "selector", "dimension": "exc", "value": 6 }, { "type": "and", "fields": [ { "type": "selector", "dimension": "country", "value": "US" } ] }, { "type": "in", "dimension": "types", "values": [ "5" ] } ] }, "aggregations": [ { "type": "arrayOfDoublesSketch", "name": "tuple_sketch_agg", "fieldName": "tuple_sketch_count" } ], "postAggregations": [ { "type": "arrayOfDoublesSketchToMetricsSumEstimate", "name": "psids_tuple_sketch_metric_estimate", "field": { "type": "arrayOfDoublesSketchSetOp", "name": "tuple_sketch_set_ops", "operation": "INTERSECT", "fields": [ { "type": "fieldAccess", "name": "tuple_sketch_post_agg", "fieldName": "tuple_sketch_agg" }, { "type": "arrayOfDoublesSketchConstant", "name": "tuple_sketch_const_post_agg", "value": "AQEJAwgBzJP/////////fyMAAAAAAAAAjBCbsE9M6x0OgYV+hyEhMxPw94jlVLRXGyO4rtPzLWYcnHztRP9Wd58FyDQEmRw2ofL5I83Ee3Ik9kmVt7h8c03WBgoFokEcpycf1NYBADgwuTxsghD+KTEcUTzHx95aPNULnBE3Jza9Nop6/YRldD5W5wISgod3wGaHm9fZaBDFTp22xM8mI0jxq5WQp6RBSnjyU1z9RShIAeGt6GwKClGIUp5AqJVK1MFkXNeS2B5ZznJuo/qJN+JPO+Tn1vtp4+u6RbBYliZiAfvzgBPFb2lOrcJkcM5Z612tuz97oHtt+2A/19TsMe/Z9PqIkIx5cSdC+RGmeSj0gehVsshlW/aioTu5KRY5+uSCBGkhFW7KrLuqHsgydwAAAAAAAPA/AAAAAAAAQ0AAAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8AAAAAAAAAQAAAAAAAAABAAAAAAAAA8D8AAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8AAAAAAAAIQAAAAAAAAPA/AAAAAAAA8D8AAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8AAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8AAAAAAADwPwAAAAAAAPA/AAAAAAAAAEAAAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8AAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8AAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8AAAAAAADwPwAAAAAAAAhAAAAAAAAACEA=" } ], } } ], "dimensions": [] } ``` `tuple_sketch_count` is a column which is of type ArrayofDoubleSketch -- 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: commits-unsubscr...@druid.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org For additional commands, e-mail: commits-h...@druid.apache.org