[jira] [Created] (CALCITE-6322) Casts to DECIMAL types are ignored

2024-03-11 Thread Mihai Budiu (Jira)
Mihai Budiu created CALCITE-6322: Summary: Casts to DECIMAL types are ignored Key: CALCITE-6322 URL: https://issues.apache.org/jira/browse/CALCITE-6322 Project: Calcite Issue Type: Bug

Re: Supporting a function with different capabilities depending on database

2024-03-11 Thread Julian Hyde
"...different capabilities depending on database” What exactly do you mean by “database”? If I create a Calcite model that has one schema backed by a Postgres JDBC catalog and another schema backed by a MySQL JDBC catalog, what “database” would you expect a connection to this model to have?

[jira] [Created] (CALCITE-6321) Add copy(List constants) method to Window class.

2024-03-11 Thread Thomas D'Silva (Jira)
Thomas D'Silva created CALCITE-6321: --- Summary: Add copy(List constants) method to Window class. Key: CALCITE-6321 URL: https://issues.apache.org/jira/browse/CALCITE-6321 Project: Calcite

Re: Pull Request Reviews for Avatica

2024-03-11 Thread Francis Chuang
Going slightly off-topic: I can be RM for the next Avatica release to make this happen. Francis On 12/03/2024 4:38 am, Mihai Budiu wrote: I haven't spent too much time trying to fix the CI problem, I was planning to spend some time on this, but this email triggered my response before I had

Re: Pull Request Reviews for Avatica

2024-03-11 Thread Mihai Budiu
I haven't spent too much time trying to fix the CI problem, I was planning to spend some time on this, but this email triggered my response before I had time to investigate. I have two PRs outstanding against Avatica which need fixes in both sides: Illegal dates are accepted by casts

Re: Pull Request Reviews for Avatica

2024-03-11 Thread Julian Hyde
Mihai, Can you list the PRs (jira cases) in this category? I thought I suggested a solution. disable tests in Calcite based on the Avatica version number. And make the changes just before an Avatica release, and quickly upgrade Calcite, so that any tests you need to disable aren’t disabled

Re: Pull Request Reviews for Avatica

2024-03-11 Thread Mihai Budiu
Some fixes in avatica require simultaneous fixes in Calcite - sometimes just tests that behave differently. I haven't figured out a good process that makes both CIs happy. Mihai From: Francis Chuang Sent: Saturday, March 9, 2024 9:18 PM To:

Re: Calcite test suite containing 232 semantically equivalent query pairs

2024-03-11 Thread Baca Radim
Hi Hongyu, I have contacted the authors and they send me the following data set of query pairs extracted from Calcite: https://github.com/georgia-tech-db/spes/blob/main/testData/calcite_tests.json It is basically the RelOptRulesTest.java test you referenced. Thank you, Radim On 3/8/2024

Re: [Question] Regarding the loading conflict between SqlStdOperatorTable and SqlLibraryOperators

2024-03-11 Thread Benchao Li
I didn't go deep into CALCITE-6259, so I might not able to give you the precise solution / code. Generally, you can add your operator table in front of the standard operator table, or just leave the standard operator table out, that would meet the requirement that you want to "override" a standard

[jira] [Created] (CALCITE-6320) Parse SQL with Hive-style and Spark-style unescaped character literals

2024-03-11 Thread EveyWu (Jira)
EveyWu created CALCITE-6320: Summary: Parse SQL with Hive-style and Spark-style unescaped character literals Key: CALCITE-6320 URL: https://issues.apache.org/jira/browse/CALCITE-6320 Project: Calcite