[jira] [Created] (CALCITE-6062) Allow conversion of un-zoned timestamp strings to timestamp with local time zone

2023-10-19 Thread Will Noble (Jira)
Will Noble created CALCITE-6062: --- Summary: Allow conversion of un-zoned timestamp strings to timestamp with local time zone Key: CALCITE-6062 URL: https://issues.apache.org/jira/browse/CALCITE-6062

RE: is there a way to skip validation steps...

2023-10-19 Thread mbudiu
One of the main differences between SqlNode and RelNode is that RelNode can only represent valid programs. This is ensured by the validator. Most, if not all, optimizations rely on the program being a legal program in order to manipulate it. The validator also adds additional information to your

[jira] [Created] (CALCITE-6061) MapValueConstrcutor/MapQueryConstructor use LinkedHashMap erroneously

2023-10-19 Thread Ran Tao (Jira)
Ran Tao created CALCITE-6061: Summary: MapValueConstrcutor/MapQueryConstructor use LinkedHashMap erroneously Key: CALCITE-6061 URL: https://issues.apache.org/jira/browse/CALCITE-6061 Project: Calcite

Re: ClassCastException: class java.lang.Long cannot be cast to class java.lang.Float

2023-10-19 Thread Egor Ryashin
There wasn't one On Thu, Oct 19, 2023, 18:32 Mihai Budiu wrote: > Can you provide a stack trace? > > From: Egor Ryashin > Sent: Thursday, October 19, 2023 6:47:48 AM > To: dev@calcite.apache.org > Subject: ClassCastException: class java.lang.Long cannot be

Re: ClassCastException: class java.lang.Long cannot be cast to class java.lang.Float

2023-10-19 Thread Mihai Budiu
Can you provide a stack trace? From: Egor Ryashin Sent: Thursday, October 19, 2023 6:47:48 AM To: 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

ClassCastException: class java.lang.Long cannot be cast to class java.lang.Float

2023-10-19 Thread Egor Ryashin
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

Re: is there a way to skip validation steps...

2023-10-19 Thread Soumyadeep Mukhopadhyay
FYI, it is not possible to skip validation because validated SqlNode can only be converted to a RelNode. The engine will check and halt if you are trying to convert Sql to Rel directly without passing validation. On Thu, Oct 19, 2023 at 4:49 PM Soumyadeep Mukhopadhyay < soumyamy...@gmail.com>

Re: is there a way to skip validation steps...

2023-10-19 Thread Soumyadeep Mukhopadhyay
Hi Rajesh, I had a similar use case where I wanted to skip the validation too. Although I am new to Apache Calcite, my approach was to use AbstractTable class. An example could be as follows: import

is there a way to skip validation steps...

2023-10-19 Thread Rajesh.Agarwal
I am using Apache Calcite to develop my project.My target is to simply provide an SQL string to Calcite and mainly using its optimizer to optimize it and output a optimized SQL string, which means that i don't have concrete tables or fields. But as far as I know for now, after the parse

[jira] [Created] (CALCITE-6060) The named parameter OFFSET in window functions should not conflicts with reserved keywords

2023-10-19 Thread lincoln lee (Jira)
lincoln lee created CALCITE-6060: Summary: The named parameter OFFSET in window functions should not conflicts with reserved keywords Key: CALCITE-6060 URL: https://issues.apache.org/jira/browse/CALCITE-6060