Description
I have a strange error using Apache Druid avatica protobuf endpoint. I send this query:
SELECT "user",
cast("added" as float) m3
from "wikipedia"
limit 10
and I get this without a stacktrace:
ClassCastException: class java.lang.Long cannot be cast to class java.lang.Float (java.lang.Long and java.lang.Float are in module java.base of loader 'bootstrap')
I works with `double` though:
SELECT
cast(1.0 as double) m3
from "wikipedia"
The screenshot shows the exception is thrown here: