[jira] [Created] (CALCITE-5195) ArrayIndexOutOfBoundsException when inferring more equal conditions from join condition for semi join

2022-06-21 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-5195: Summary: ArrayIndexOutOfBoundsException when inferring more equal conditions from join condition for semi join Key: CALCITE-5195 URL:

[jira] [Created] (CALCITE-5193) Push filter whose conditions include join keys and are composed by OR into inputs of full join

2022-06-15 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-5193: Summary: Push filter whose conditions include join keys and are composed by OR into inputs of full join Key: CALCITE-5193 URL: https://issues.apache.org/jira/browse/CALCITE-5193

[jira] [Created] (CALCITE-5162) RelMdUniqueKeys can return more precise unique keys for Aggregate

2022-05-19 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-5162: Summary: RelMdUniqueKeys can return more precise unique keys for Aggregate Key: CALCITE-5162 URL: https://issues.apache.org/jira/browse/CALCITE-5162 Project: Calcite

[jira] [Created] (CALCITE-5149) Refine RelMdColumnUniqueness for Window by considering partition keys

2022-05-12 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-5149: Summary: Refine RelMdColumnUniqueness for Window by considering partition keys Key: CALCITE-5149 URL: https://issues.apache.org/jira/browse/CALCITE-5149 Project:

[jira] [Created] (CALCITE-5131) Remove redundant type cast

2022-05-04 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-5131: Summary: Remove redundant type cast Key: CALCITE-5131 URL: https://issues.apache.org/jira/browse/CALCITE-5131 Project: Calcite Issue Type: Improvement

[jira] [Created] (CALCITE-4895) MAP type in UDF cannot be externalized from json correctly

2021-11-19 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-4895: Summary: MAP type in UDF cannot be externalized from json correctly Key: CALCITE-4895 URL: https://issues.apache.org/jira/browse/CALCITE-4895 Project: Calcite

[jira] [Created] (CALCITE-4893) JsonParseException happens when externalizing expressions with escape character from JSON

2021-11-18 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-4893: Summary: JsonParseException happens when externalizing expressions with escape character from JSON Key: CALCITE-4893 URL: https://issues.apache.org/jira/browse/CALCITE-4893

[jira] [Created] (CALCITE-4884) Provide a new constructor for RelJsonWriter to allow customized JsonBuilder

2021-11-10 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-4884: Summary: Provide a new constructor for RelJsonWriter to allow customized JsonBuilder Key: CALCITE-4884 URL: https://issues.apache.org/jira/browse/CALCITE-4884

[jira] [Created] (CALCITE-4883) The traitset of Exchange operator losses the distribution when externalizing Exchange operator from JSON

2021-11-10 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-4883: Summary: The traitset of Exchange operator losses the distribution when externalizing Exchange operator from JSON Key: CALCITE-4883 URL:

[jira] [Created] (CALCITE-4429) createCastRel should throw an exception when the field count of the row type to to be converted and desired row type is not equal

2020-12-07 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-4429: Summary: createCastRel should throw an exception when the field count of the row type to to be converted and desired row type is not equal Key: CALCITE-4429 URL:

[jira] [Created] (CALCITE-4421) AssertionError is thrown with empty message

2020-11-29 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-4421: Summary: AssertionError is thrown with empty message Key: CALCITE-4421 URL: https://issues.apache.org/jira/browse/CALCITE-4421 Project: Calcite Issue Type:

[jira] [Created] (CALCITE-4368) TopDownOptTest fails if applying non-substitution rule first

2020-10-30 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-4368: Summary: TopDownOptTest fails if applying non-substitution rule first Key: CALCITE-4368 URL: https://issues.apache.org/jira/browse/CALCITE-4368 Project: Calcite

[jira] [Created] (CALCITE-4360) Should apply SubstituteRule first in top-down driven rule apply

2020-10-27 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-4360: Summary: Should apply SubstituteRule first in top-down driven rule apply Key: CALCITE-4360 URL: https://issues.apache.org/jira/browse/CALCITE-4360 Project: Calcite

[jira] [Created] (CALCITE-4239) RelMdUniqueKeys returns wrong unique keys for Aggregate with grouping sets

2020-09-09 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-4239: Summary: RelMdUniqueKeys returns wrong unique keys for Aggregate with grouping sets Key: CALCITE-4239 URL: https://issues.apache.org/jira/browse/CALCITE-4239

[jira] [Created] (CALCITE-4223) Introducing column statistics to RelOptTable

2020-09-03 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-4223: Summary: Introducing column statistics to RelOptTable Key: CALCITE-4223 URL: https://issues.apache.org/jira/browse/CALCITE-4223 Project: Calcite Issue Type:

[jira] [Created] (CALCITE-4203) RelMdUniqueKeys should not return empty when meeting Intersect and Minus if its input has unique keys

2020-08-31 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-4203: Summary: RelMdUniqueKeys should not return empty when meeting Intersect and Minus if its input has unique keys Key: CALCITE-4203 URL:

[jira] [Created] (CALCITE-3910) Enhance ProjectJoinTransposeRule to support SemiJoin and AntiJoin

2020-04-10 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-3910: Summary: Enhance ProjectJoinTransposeRule to support SemiJoin and AntiJoin Key: CALCITE-3910 URL: https://issues.apache.org/jira/browse/CALCITE-3910 Project: Calcite

[jira] [Created] (CALCITE-3909) RelMdMinRowCount doesn't take into account UNION DISTINCT

2020-04-10 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-3909: Summary: RelMdMinRowCount doesn't take into account UNION DISTINCT Key: CALCITE-3909 URL: https://issues.apache.org/jira/browse/CALCITE-3909 Project: Calcite

[jira] [Created] (CALCITE-3890) Infer IS NOT NULL predicate from join

2020-03-31 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-3890: Summary: Infer IS NOT NULL predicate from join Key: CALCITE-3890 URL: https://issues.apache.org/jira/browse/CALCITE-3890 Project: Calcite Issue Type:

[jira] [Created] (CALCITE-3852) RexSimplify doesn't simplify NOT EQUAL predicates

2020-03-11 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-3852: Summary: RexSimplify doesn't simplify NOT EQUAL predicates Key: CALCITE-3852 URL: https://issues.apache.org/jira/browse/CALCITE-3852 Project: Calcite Issue

[jira] [Created] (CALCITE-3845) CASE WHEN expression with nullability CAST is considered as reduced wrongly in ReduceExpressionsRule

2020-03-05 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-3845: Summary: CASE WHEN expression with nullability CAST is considered as reduced wrongly in ReduceExpressionsRule Key: CALCITE-3845 URL:

[jira] [Created] (CALCITE-3838) Support Calc in RelMdSize,RelMdSelectivity,RelMdMaxRowCount,RelMdMinRowCount,RelMdTableReferences

2020-03-02 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-3838: Summary: Support Calc in RelMdSize,RelMdSelectivity,RelMdMaxRowCount,RelMdMinRowCount,RelMdTableReferences Key: CALCITE-3838 URL:

[jira] [Created] (CALCITE-3817) VolcanoPlanner does not remove the entry in ruleNames when removing a rule

2020-02-24 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-3817: Summary: VolcanoPlanner does not remove the entry in ruleNames when removing a rule Key: CALCITE-3817 URL: https://issues.apache.org/jira/browse/CALCITE-3817

[jira] [Created] (CALCITE-3809) RexSimplify simplifies nondeterministic function incorrectly

2020-02-20 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-3809: Summary: RexSimplify simplifies nondeterministic function incorrectly Key: CALCITE-3809 URL: https://issues.apache.org/jira/browse/CALCITE-3809 Project: Calcite

[jira] [Created] (CALCITE-3803) Enhance RexSimplify to simplify 'a>1 or (a<3 and b)' to 'a>1 or b' if column a is not nullable

2020-02-17 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-3803: Summary: Enhance RexSimplify to simplify 'a>1 or (a<3 and b)' to 'a>1 or b' if column a is not nullable Key: CALCITE-3803 URL: https://issues.apache.org/jira/browse/CALCITE-3803

[jira] [Created] (CALCITE-3794) Return directly if there is no pulled up predicate

2020-02-13 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-3794: Summary: Return directly if there is no pulled up predicate Key: CALCITE-3794 URL: https://issues.apache.org/jira/browse/CALCITE-3794 Project: Calcite Issue

[jira] [Created] (CALCITE-3791) HepPlanner does't clear metadata cache for the ancestors of discarded node when a transformation happens

2020-02-12 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-3791: Summary: HepPlanner does't clear metadata cache for the ancestors of discarded node when a transformation happens Key: CALCITE-3791 URL:

[jira] [Created] (CALCITE-3630) Improve ReduceExpressionsRule

2019-12-24 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-3630: Summary: Improve ReduceExpressionsRule Key: CALCITE-3630 URL: https://issues.apache.org/jira/browse/CALCITE-3630 Project: Calcite Issue Type: Bug

[jira] [Created] (CALCITE-3599) Initial the digest of RexRangeRef to avoid null string

2019-12-12 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-3599: Summary: Initial the digest of RexRangeRef to avoid null string Key: CALCITE-3599 URL: https://issues.apache.org/jira/browse/CALCITE-3599 Project: Calcite

[jira] [Created] (CALCITE-3569) IndexOutOfBoundsException when pushing FALSE filter to view

2019-12-04 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-3569: Summary: IndexOutOfBoundsException when pushing FALSE filter to view Key: CALCITE-3569 URL: https://issues.apache.org/jira/browse/CALCITE-3569 Project: Calcite

[jira] [Created] (CALCITE-3544) RexSimplify does not simpilfy RexNode completely

2019-11-28 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-3544: Summary: RexSimplify does not simpilfy RexNode completely Key: CALCITE-3544 URL: https://issues.apache.org/jira/browse/CALCITE-3544 Project: Calcite Issue

[jira] [Created] (CALCITE-3229) UnsupportedOperationException for UPDATE with IN query

2019-08-04 Thread Chunwei Lei (JIRA)
Chunwei Lei created CALCITE-3229: Summary: UnsupportedOperationException for UPDATE with IN query Key: CALCITE-3229 URL: https://issues.apache.org/jira/browse/CALCITE-3229 Project: Calcite

[jira] [Created] (CALCITE-3228) Error while applying rule ProjectScanRule: interpreter

2019-08-03 Thread Chunwei Lei (JIRA)
Chunwei Lei created CALCITE-3228: Summary: Error while applying rule ProjectScanRule: interpreter Key: CALCITE-3228 URL: https://issues.apache.org/jira/browse/CALCITE-3228 Project: Calcite

[jira] [Created] (CALCITE-3068) testSubprogram() does't test whether subprogram gets re-executed

2019-05-15 Thread Chunwei Lei (JIRA)
Chunwei Lei created CALCITE-3068: Summary: testSubprogram() does't test whether subprogram gets re-executed Key: CALCITE-3068 URL: https://issues.apache.org/jira/browse/CALCITE-3068 Project: Calcite

[jira] [Created] (CALCITE-3015) Add rule to remove constants in group keys

2019-04-22 Thread Chunwei Lei (JIRA)
Chunwei Lei created CALCITE-3015: Summary: Add rule to remove constants in group keys Key: CALCITE-3015 URL: https://issues.apache.org/jira/browse/CALCITE-3015 Project: Calcite Issue Type:

[jira] [Created] (CALCITE-3009) It should fail if there are duplicate keys in a .xml file

2019-04-16 Thread Chunwei Lei (JIRA)
Chunwei Lei created CALCITE-3009: Summary: It should fail if there are duplicate keys in a .xml file Key: CALCITE-3009 URL: https://issues.apache.org/jira/browse/CALCITE-3009 Project: Calcite

[jira] [Created] (CALCITE-2998) RexCopier should support all rex types

2019-04-14 Thread Chunwei Lei (JIRA)
Chunwei Lei created CALCITE-2998: Summary: RexCopier should support all rex types Key: CALCITE-2998 URL: https://issues.apache.org/jira/browse/CALCITE-2998 Project: Calcite Issue Type:

[jira] [Created] (CALCITE-2965) Implement string functions: REPEAT, SPACE, SOUNDEX, DIFFERENCE

2019-03-30 Thread Chunwei Lei (JIRA)
Chunwei Lei created CALCITE-2965: Summary: Implement string functions: REPEAT, SPACE, SOUNDEX, DIFFERENCE Key: CALCITE-2965 URL: https://issues.apache.org/jira/browse/CALCITE-2965 Project: Calcite

[jira] [Created] (CALCITE-2908) Add LAST_DAY function

2019-03-11 Thread Chunwei Lei (JIRA)
Chunwei Lei created CALCITE-2908: Summary: Add LAST_DAY function Key: CALCITE-2908 URL: https://issues.apache.org/jira/browse/CALCITE-2908 Project: Calcite Issue Type: Bug

[jira] [Created] (CALCITE-2896) RelBuilder supports creating TableFunctionScan

2019-03-06 Thread Chunwei Lei (JIRA)
Chunwei Lei created CALCITE-2896: Summary: RelBuilder supports creating TableFunctionScan Key: CALCITE-2896 URL: https://issues.apache.org/jira/browse/CALCITE-2896 Project: Calcite Issue

[jira] [Created] (CALCITE-2895) Some arguments are undocumented in constructor of LogicalAggregate

2019-03-06 Thread Chunwei Lei (JIRA)
Chunwei Lei created CALCITE-2895: Summary: Some arguments are undocumented in constructor of LogicalAggregate Key: CALCITE-2895 URL: https://issues.apache.org/jira/browse/CALCITE-2895 Project:

[jira] [Created] (CALCITE-2875) Some misspellings in RelOptListener

2019-02-25 Thread Chunwei Lei (JIRA)
Chunwei Lei created CALCITE-2875: Summary: Some misspellings in RelOptListener Key: CALCITE-2875 URL: https://issues.apache.org/jira/browse/CALCITE-2875 Project: Calcite Issue Type: Bug

[jira] [Created] (CALCITE-2729) Introducing WindowExpressionRules

2018-12-06 Thread Chunwei Lei (JIRA)
Chunwei Lei created CALCITE-2729: Summary: Introducing WindowExpressionRules Key: CALCITE-2729 URL: https://issues.apache.org/jira/browse/CALCITE-2729 Project: Calcite Issue Type: Bug

[jira] [Created] (CALCITE-2661) support creating Exchange and SortExchange in RelBuilder

2018-11-08 Thread Chunwei Lei (JIRA)
Chunwei Lei created CALCITE-2661: Summary: support creating Exchange and SortExchange in RelBuilder Key: CALCITE-2661 URL: https://issues.apache.org/jira/browse/CALCITE-2661 Project: Calcite

[jira] [Created] (CALCITE-2658) Introducing more ReduceExpressionRules

2018-11-06 Thread Chunwei Lei (JIRA)
Chunwei Lei created CALCITE-2658: Summary: Introducing more ReduceExpressionRules Key: CALCITE-2658 URL: https://issues.apache.org/jira/browse/CALCITE-2658 Project: Calcite Issue Type: Bug

[jira] [Created] (CALCITE-2657) use RexCall#clone instead of constructor to make a new RexCall in RexShuttle for more scalability

2018-11-06 Thread Chunwei Lei (JIRA)
Chunwei Lei created CALCITE-2657: Summary: use RexCall#clone instead of constructor to make a new RexCall in RexShuttle for more scalability Key: CALCITE-2657 URL: