There wasn't one

On Thu, Oct 19, 2023, 18:32 Mihai Budiu <mbu...@gmail.com> wrote:

> Can you provide a stack trace?
> ________________________________
> From: Egor Ryashin <riashin.e...@gmail.com>
> Sent: Thursday, October 19, 2023 6:47:48 AM
> To: dev@calcite.apache.org <dev@calcite.apache.org>
> Subject: ClassCastException: class java.lang.Long cannot be cast to class
> java.lang.Float
>
> Hi all,
>
> 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 get this:
> 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 wonder if it can be Avatica protobuf implementation?
>
> Thanks
>

Reply via email to