Requesting a review on a PR----[CALCITE-4486]:support UNIQUE predicate

2021-08-17 Thread xiong duan
Hi Follower, Please review this PR, So that we can make some improvements. Thank you. The PR:https://github.com/apache/calcite/pull/2495 The ISSUE: https://issues.apache.org/jira/projects/CALCITE/issues/CALCITE-4486

[jira] [Created] (CALCITE-4745) RelDataTypeSystemImpl.deriveAvgAggType typing error

2021-08-17 Thread keaton drebes (Jira)
keaton drebes created CALCITE-4745: -- Summary: RelDataTypeSystemImpl.deriveAvgAggType typing error Key: CALCITE-4745 URL: https://issues.apache.org/jira/browse/CALCITE-4745 Project: Calcite

Looking for a committer to merge CALCITE-4665: Allow Aggregate.groupSet to contain columns not in any of the groupSets

2021-08-17 Thread xiong duan
I have a patch that is ready for review and to be committed. I am looking for a committer to review and merge it. Thanks.

[jira] [Created] (CALCITE-4744) Add

2021-08-17 Thread keaton drebes (Jira)
keaton drebes created CALCITE-4744: -- Summary: Add Key: CALCITE-4744 URL: https://issues.apache.org/jira/browse/CALCITE-4744 Project: Calcite Issue Type: New Feature Components:

[jira] [Created] (CALCITE-4742) AssertionError in SubQueryRemoveRule.rewriteSome while rewriting ANY subquery

2021-08-17 Thread Ivan Daschinsky (Jira)
Ivan Daschinsky created CALCITE-4742: Summary: AssertionError in SubQueryRemoveRule.rewriteSome while rewriting ANY subquery Key: CALCITE-4742 URL: https://issues.apache.org/jira/browse/CALCITE-4742

[jira] [Created] (CALCITE-4741) AbstractRelNode#getId can overflow into a negative value causing CompileException in certain Enumerable implement methods

2021-08-17 Thread Ruben Q L (Jira)
Ruben Q L created CALCITE-4741: -- Summary: AbstractRelNode#getId can overflow into a negative value causing CompileException in certain Enumerable implement methods Key: CALCITE-4741 URL:

Re: Runtime Exception while using SqlParse.

2021-08-17 Thread Thomas Rebele
Hi Jariv, are you sure you want to join two columns of Purchase: *Purchase.Product_ID = Purchase.ID*? If that's the cause of the exception, the error message could be improved. Cordialement / Best Regards, *Thomas Rebele, PhD* | R Developer | Germany | www.tibco.com On Mon, Aug 16, 2021 at

Re: Analyzing SQL queries with default catalog/database names

2021-08-17 Thread Julian Hyde
A key step in validation is to fully-quality table names. Thus in your example, mytable would become the string array [“hive”, “my_database”, “mytable”]. Any my_database2.mytable2 would become [“hive”, “my_database2”, “mytable2”]. But foo would remain foo, because it is in the query and is not