kgyrtkirk opened a new issue, #15538:
URL: https://github.com/apache/druid/issues/15538
<details>
<summary>when resultscache is enabled</summary>
```
cat >> conf/druid/auto/broker/runtime.properties <<EOF
druid.broker.cache.useResultLevelCache=true
druid.broker.cache.populateResultLevelCache=true
EOF
```
A query which may store a sketch in the resultscache:
</details>
```
SELECT TIME_FLOOR(__time, 'P1D') as dayLvl,
dim1,
HLL_SKETCH_ESTIMATE(DS_HLL(hllsketch_dim1,18,'HLL_4'), true),
HLL_SKETCH_ESTIMATE(DS_HLL(DS_HLL(hllsketch_dim1,18,'HLL_4'),18,'HLL_4')
OVER (PARTITION BY dim1), true), 1
FROM
(select * from druid.foo ) ttt
WHERE __time >= '1903-08-02' AND __time <= '2033-08-07'
and dim1 not like '%ikipedia' and l1 > -4
group by 1,2
```
after the first successfull execution (no cache hit) results in:
```
Unknown exception: class [B cannot be cast to class
org.apache.druid.query.aggregation.datasketches.hll.HllSketchHolder ([B is in
module java.base of loader 'bootstrap';
org.apache.druid.query.aggregation.datasketches.hll.HllSketchHolder is in
unnamed module of loader java.net.URLClassLoader @348ad293)
```
note: it could happen with windowing queries; however it can be reproduced
even without that.
workaround could be to disable the usage of the resultscache
--
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]