Re: [DISCUSS] RepeatUnion improvements

2022-01-18 Thread Igor Lozynskyi
Hi Ruben, We use RepeateUnion in our downstream project to process tree structures. And for us, it works like charm. I looked through the proposed changes and I find them reasonable. RelBuilder API is the same, so, most client code should still work. Thanks for your contribution! Regards, Igor

Re: [VOTE] Release apache-calcite-1.27.0 (release candidate 0)

2021-06-02 Thread Igor Lozynskyi
Thanks Stamatis for taking care of this release. +1 - Calcite tests locally (macOS Catalina 10.15.7 + JVM 11.0.8 (AdoptOpenJDK 11.0.8+10) + Gradle 6.8.3): ok - Unit and integration tests of the downstream project using Calcite 1.27.0 RC0 : ok Igor On 31 May 2021, 18:29 +0300,

Performance degradation during query planning (vs Calcite 1.25)

2021-02-11 Thread Igor Lozynskyi
Hi Calcite community! Before the upcoming 1.27 release, in a downstream project, my team started the migration procedure. We had to accommodate our code for SARGs changes, but other than that, everything looks great. Out test suites are green, and everything works like a charm. However, when

[jira] [Created] (CALCITE-4494) Improve planning performance with RelSubset check for Rel presence

2021-02-11 Thread Igor Lozynskyi (Jira)
Igor Lozynskyi created CALCITE-4494: --- Summary: Improve planning performance with RelSubset check for Rel presence Key: CALCITE-4494 URL: https://issues.apache.org/jira/browse/CALCITE-4494 Project

Re: Potential issue with RexSimplify/Sarg in Calcite 1.26

2020-10-23 Thread Igor Lozynskyi
Hi! I created the following issue:  https://issues.apache.org/jira/browse/CALCITE-4352 Regards, Igor

[jira] [Created] (CALCITE-4352) RelBuilder/RexSimplify/Sarg incorrectly transforms complex expressions with IS NULL/IS NOT NULL

2020-10-23 Thread Igor Lozynskyi (Jira)
Igor Lozynskyi created CALCITE-4352: --- Summary: RelBuilder/RexSimplify/Sarg incorrectly transforms complex expressions with IS NULL/IS NOT NULL Key: CALCITE-4352 URL: https://issues.apache.org/jira/browse

Re: Potential issue with RexSimplify/Sarg in Calcite 1.26

2020-10-22 Thread Igor Lozynskyi
oes not show this issue (stays the same): SELECT * FROM emp WHERE  mgr IS NOT NULL Should I report a new issue or better reopen CALCITE-4325? The patch with the corresponding test cases is in attachments. Regards, Igor On 10 Oct 2020, 12:56 +0300, Igor Lozynskyi , wrote: > Hi! > > I

Re: Potential issue with RexSimplify/Sarg in Calcite 1.26

2020-10-10 Thread Igor Lozynskyi
Hi! I created a JIRA ticket regarding this issue: https://issues.apache.org/jira/browse/CALCITE-4325 Regards, Igor Lozynskyi On 9 Oct 2020, 23:24 +0300, Julian Hyde , wrote: > Those cases you have found are indeed regressions. Please log a JIRA case. > > For the record, I am still

[jira] [Created] (CALCITE-4325) RexSimplify/Sarg incorrectly simplifies complex expressions with NULL

2020-10-10 Thread Igor Lozynskyi (Jira)
Igor Lozynskyi created CALCITE-4325: --- Summary: RexSimplify/Sarg incorrectly simplifies complex expressions with NULL Key: CALCITE-4325 URL: https://issues.apache.org/jira/browse/CALCITE-4325

Potential issue with RexSimplify/Sarg in Calcite 1.26

2020-10-09 Thread Igor Lozynskyi
o = 10` These discrepancies were identified by our test suites. A diff with related unit tests (for RelBuilderTest.java) is in the attachment. Is this change is desired, or this is an issue? With best regards, Igor Lozynskyi