Re: Infix cast precedence

2022-10-04 Thread Julian Hyde
Infix cast comes from Postgres. Can someone find a table of operator precedence in Postgres? Perhaps write a test case involving operators with slightly higher and lower precedence, so we can check that Calcite is consistent. > On Oct 4, 2022, at 10:20 AM, Itiel Sadeh > wrote: > > Hello, >

[jira] [Created] (CALCITE-5308) Add support to Avatica for microsecond-precision timestamps

2022-10-04 Thread Will Noble (Jira)
Will Noble created CALCITE-5308: --- Summary: Add support to Avatica for microsecond-precision timestamps Key: CALCITE-5308 URL: https://issues.apache.org/jira/browse/CALCITE-5308 Project: Calcite

[jira] [Created] (CALCITE-5307) Quoting of functions interferes with MySQL execution

2022-10-04 Thread Dirk (Jira)
Dirk created CALCITE-5307: - Summary: Quoting of functions interferes with MySQL execution Key: CALCITE-5307 URL: https://issues.apache.org/jira/browse/CALCITE-5307 Project: Calcite Issue Type: Bug

Infix cast precedence

2022-10-04 Thread Itiel Sadeh
Hello, I've encountered weird parsing of infix cast with the babel parser, where given the following query: SELECT -1 :: INT FROM t; It will parse it as UNARY_MINUS( CAST( 1 AS INT )), while i've expected it to be CAST(-1 AS INT) As i've looked at the code I saw that the precedence of the

Re: [DISCUSS] restrict JDK test matrix

2022-10-04 Thread Alessandro Solimando
Julian, Stamatis, thanks for your input! Since it seems that there is consensus around the topic, I have logged CALCITE-5306 . As soon as I have a PR ready, I will reply to this thread too, in order to collect opinions and feedback. Best

[jira] [Created] (CALCITE-5306) Support LTS JDKs and latest in testing

2022-10-04 Thread Alessandro Solimando (Jira)
Alessandro Solimando created CALCITE-5306: - Summary: Support LTS JDKs and latest in testing Key: CALCITE-5306 URL: https://issues.apache.org/jira/browse/CALCITE-5306 Project: Calcite

Re: [DISCUSS] restrict JDK test matrix

2022-10-04 Thread Stamatis Zampetakis
Hello, It is not recommended to use EOL software so dropping those JDK versions from the test matrix makes sense. Anyways it wouldn't be surprising if Jenkins, Travis, Github Actions, etc., remove those EOL versions as well at some point. Best, Stamatis On Mon, Oct 3, 2022 at 3:15 PM Julian