Re: Changing the Parser

2021-07-29 Thread Julian Hyde
There is some documentation: https://calcite.apache.org/docs/adapter.html#extending-the-parser . > On Jul 29, 2021, at 7:04 PM, Vladimir Sitnikov > wrote: > > https://issues.apache.org/jira/browse/CALCITE-4701 seems

Re: Changing the Parser

2021-07-29 Thread Vladimir Sitnikov
https://issues.apache.org/jira/browse/CALCITE-4701 seems relevant. I do not know if "parser extension" build system plugins already exist, however, I think it would be nice to have one in Calcite. Vladimir

Changing the Parser

2021-07-29 Thread Nick Riasanovsky
Hello calcite developers, I am working on a project that utilizes the calcite-core and I would like to extend the parser to support syntax that is custom to my application. I believe some of the additions I would like are supported by SQL offerings (such as <=> in SparkSQL) and could be included

[jira] [Created] (CALCITE-4709) camnangsk

2021-07-29 Thread camnangsk (Jira)
camnangsk created CALCITE-4709: -- Summary: camnangsk Key: CALCITE-4709 URL: https://issues.apache.org/jira/browse/CALCITE-4709 Project: Calcite Issue Type: Bug Components: avatica-go

[jira] [Created] (CALCITE-4708) Infer list generic type while Table instance is created at ReflectiveSchema class

2021-07-29 Thread Vladimir Polukeev (Jira)
Vladimir Polukeev created CALCITE-4708: -- Summary: Infer list generic type while Table instance is created at ReflectiveSchema class Key: CALCITE-4708 URL: https://issues.apache.org/jira/browse/CALCITE-4708

Integrate the Cosette prover in Calcite's RelNode rewrite tests

2021-07-29 Thread Shuxian Wang
Hello Calcite developers, I am a Berkeley student working on a new version for the [Cosette SQL prover](https://cosette.cs.washington.edu/). This [new implementation](https://github.com/cosette-solver/cosette-rs) aims for higher performance and better SQL feature coverage. One goal for us is

does Calcite have the mathematical equation transformation such a + b = c to a = c - b

2021-07-29 Thread Yanjing Wang
Hi, guys I have a scenario to calculate the input ref in an expression, for example: date_sub(dt, 1) = '2021-07-29' to dt = date_add('2021-07-29', 1) thus I can conclude that dt = '2021-07-30'. I start from the most simplest form dt + 1 = 3. but it can't be simplified or reduced. I