[jira] [Commented] (CALCITE-3721) Filter of distinct aggregate call is lost after applying `AggregateExpandDistinctAggregatesRule`

2020-01-10 Thread Shuo Cheng (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013369#comment-17013369 ] Shuo Cheng commented on CALCITE-3721: - Sorry, Danny, I miss understood what you mea

[jira] [Updated] (CALCITE-3697) Implement bit_count function

2020-01-10 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3697: Labels: pull-request-available (was: ) > Implement bit_count function >

[jira] [Issue Comment Deleted] (CALCITE-3721) Filter of distinct aggregate call is lost after applying `AggregateExpandDistinctAggregatesRule`

2020-01-10 Thread Shuo Cheng (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuo Cheng updated CALCITE-3721: Comment: was deleted (was: Hi, Danny, actually, A and B have different groupSet: {code:java} Logi

[jira] [Commented] (CALCITE-3721) Filter of distinct aggregate call is lost after applying `AggregateExpandDistinctAggregatesRule`

2020-01-10 Thread Shuo Cheng (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013365#comment-17013365 ] Shuo Cheng commented on CALCITE-3721: - Hi, Danny, actually, A and B have different

[jira] [Issue Comment Deleted] (CALCITE-3721) Filter of distinct aggregate call is lost after applying `AggregateExpandDistinctAggregatesRule`

2020-01-10 Thread Shuo Cheng (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuo Cheng updated CALCITE-3721: Comment: was deleted (was: Hi, Danny, actually A and B have different groupSet, because filter ar

[jira] [Commented] (CALCITE-3721) Filter of distinct aggregate call is lost after applying `AggregateExpandDistinctAggregatesRule`

2020-01-10 Thread Shuo Cheng (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013363#comment-17013363 ] Shuo Cheng commented on CALCITE-3721: - Hi, Danny, actually A and B have different g

[jira] [Updated] (CALCITE-3697) Implement bit_count function

2020-01-10 Thread Forward Xu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Forward Xu updated CALCITE-3697: Description: Implement bit_count function (was: IMPLEMENT COPYSIGN FUNCTION) > Implement bit_co

[jira] [Updated] (CALCITE-3697) Implement bit_count function

2020-01-10 Thread Forward Xu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Forward Xu updated CALCITE-3697: Summary: Implement bit_count function (was: Implement COPYSIGN function) > Implement bit_count f

[jira] [Updated] (CALCITE-3697) Implement COPYSIGN function

2020-01-10 Thread Forward Xu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Forward Xu updated CALCITE-3697: Parent: (was: CALCITE-3683) Issue Type: Improvement (was: Sub-task) > Implement COPY

[jira] [Created] (CALCITE-3724) Implement PrestoSqlDialect

2020-01-10 Thread Forward Xu (Jira)
Forward Xu created CALCITE-3724: --- Summary: Implement PrestoSqlDialect Key: CALCITE-3724 URL: https://issues.apache.org/jira/browse/CALCITE-3724 Project: Calcite Issue Type: Improvement

[jira] [Comment Edited] (CALCITE-2356) Allow user defined policy to dynamically define all or some specific rules' execution order or even skip some rules

2020-01-10 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013337#comment-17013337 ] Danny Chen edited comment on CALCITE-2356 at 1/11/20 2:30 AM: ---

[jira] [Comment Edited] (CALCITE-2356) Allow user defined policy to dynamically define all or some specific rules' execution order or even skip some rules

2020-01-10 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013337#comment-17013337 ] Danny Chen edited comment on CALCITE-2356 at 1/11/20 2:28 AM: ---

[jira] [Comment Edited] (CALCITE-2356) Allow user defined policy to dynamically define all or some specific rules' execution order or even skip some rules

2020-01-10 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013337#comment-17013337 ] Danny Chen edited comment on CALCITE-2356 at 1/11/20 2:28 AM: ---

[jira] [Comment Edited] (CALCITE-2356) Allow user defined policy to dynamically define all or some specific rules' execution order or even skip some rules

2020-01-10 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013337#comment-17013337 ] Danny Chen edited comment on CALCITE-2356 at 1/11/20 2:27 AM: ---

[jira] [Commented] (CALCITE-2356) Allow user defined policy to dynamically define all or some specific rules' execution order or even skip some rules

2020-01-10 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013337#comment-17013337 ] Danny Chen commented on CALCITE-2356: - Here is what Roman has tried in our thread:

[jira] [Comment Edited] (CALCITE-2356) Allow user defined policy to dynamically define all or some specific rules' execution order or even skip some rules

2020-01-10 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013337#comment-17013337 ] Danny Chen edited comment on CALCITE-2356 at 1/11/20 2:26 AM: ---

[jira] [Commented] (CALCITE-3723) Following the change to add hints to RelNode, deprecate the old constructors

2020-01-10 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013334#comment-17013334 ] Danny Chen commented on CALCITE-3723: - Well, i can do that if you think the change

[jira] [Created] (CALCITE-3723) Following the change to add hints to RelNode, deprecate the old constructors

2020-01-10 Thread Julian Hyde (Jira)
Julian Hyde created CALCITE-3723: Summary: Following the change to add hints to RelNode, deprecate the old constructors Key: CALCITE-3723 URL: https://issues.apache.org/jira/browse/CALCITE-3723 Projec

[jira] [Resolved] (CALCITE-3364) ClassCastException if group by is used on the result of scalar valued table function

2020-01-10 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stamatis Zampetakis resolved CALCITE-3364. -- Fix Version/s: 1.22.0 Resolution: Fixed Fixed inĀ  [e96a9aaec6cb75be65c

[jira] [Commented] (CALCITE-2356) Allow user defined policy to dynamically define all or some specific rules' execution order or even skip some rules

2020-01-10 Thread Vladimir Sitnikov (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013055#comment-17013055 ] Vladimir Sitnikov commented on CALCITE-2356: Here's a detailed step-by-step

[jira] [Updated] (CALCITE-3364) ClassCastException if group by is used on the result of scalar valued table function

2020-01-10 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stamatis Zampetakis updated CALCITE-3364: - Summary: ClassCastException if group by is used on the result of scalar valued

[jira] [Commented] (CALCITE-3364) Can't group table function result due to a type cast error if table function returns a row with a single value

2020-01-10 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013019#comment-17013019 ] Stamatis Zampetakis commented on CALCITE-3364: -- Thanks for the PR [~donnyz

[jira] [Commented] (CALCITE-3364) Can't group table function result due to a type cast error if table function returns a row with a single value

2020-01-10 Thread Feng Zhu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012747#comment-17012747 ] Feng Zhu commented on CALCITE-3364: --- The issue is triggered in EnumerableAggregate [1

[jira] [Assigned] (CALCITE-3364) Can't group table function result due to a type cast error if table function returns a row with a single value

2020-01-10 Thread Feng Zhu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Feng Zhu reassigned CALCITE-3364: - Assignee: Feng Zhu > Can't group table function result due to a type cast error if table funct

[jira] [Updated] (CALCITE-3364) Can't group table function result due to a type cast error if table function returns a row with a single value

2020-01-10 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3364: Labels: pull-request-available (was: ) > Can't group table function result due to a type

[jira] [Resolved] (CALCITE-3722) Add Hook#PLAN_BEFORE_IMPLEMENTATION to capture the plan after optimization

2020-01-10 Thread Vladimir Sitnikov (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov resolved CALCITE-3722. Fix Version/s: 1.22.0 Resolution: Fixed Implemented in https://github.com

[jira] [Updated] (CALCITE-3285) EnumerableMergeJoin should support non-equi join conditions

2020-01-10 Thread Vladimir Sitnikov (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov updated CALCITE-3285: --- Fix Version/s: (was: 1.22.0) > EnumerableMergeJoin should support non-equi join

[jira] [Reopened] (CALCITE-3285) EnumerableMergeJoin should support non-equi join conditions

2020-01-10 Thread Vladimir Sitnikov (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov reopened CALCITE-3285: Assignee: Vladimir Sitnikov (was: Jin Xing) > EnumerableMergeJoin should suppo

[jira] [Commented] (CALCITE-3285) EnumerableMergeJoin should support non-equi join conditions

2020-01-10 Thread Vladimir Sitnikov (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012721#comment-17012721 ] Vladimir Sitnikov commented on CALCITE-3285: Reverted in https://github.co

[jira] [Created] (CALCITE-3722) Add Hook#PLAN_BEFORE_IMPLEMENTATION to capture the plan after optimization

2020-01-10 Thread Vladimir Sitnikov (Jira)
Vladimir Sitnikov created CALCITE-3722: -- Summary: Add Hook#PLAN_BEFORE_IMPLEMENTATION to capture the plan after optimization Key: CALCITE-3722 URL: https://issues.apache.org/jira/browse/CALCITE-3722

[jira] [Commented] (CALCITE-3721) Filter of distinct aggregate call is lost after applying `AggregateExpandDistinctAggregatesRule`

2020-01-10 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012697#comment-17012697 ] Danny Chen commented on CALCITE-3721: - It seems that modify the $g field directly i

[jira] [Commented] (CALCITE-3721) Filter of distinct aggregate call is lost after applying `AggregateExpandDistinctAggregatesRule`

2020-01-10 Thread Shuo Cheng (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012641#comment-17012641 ] Shuo Cheng commented on CALCITE-3721: - Yeah, Danny, this column is actually useless

[jira] [Comment Edited] (CALCITE-3717) Query fails with "division by zero" exception

2020-01-10 Thread Feng Zhu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012636#comment-17012636 ] Feng Zhu edited comment on CALCITE-3717 at 1/10/20 9:48 AM:

[jira] [Comment Edited] (CALCITE-3717) Query fails with "division by zero" exception

2020-01-10 Thread Feng Zhu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012636#comment-17012636 ] Feng Zhu edited comment on CALCITE-3717 at 1/10/20 9:45 AM:

[jira] [Commented] (CALCITE-3717) Query fails with "division by zero" exception

2020-01-10 Thread Feng Zhu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012636#comment-17012636 ] Feng Zhu commented on CALCITE-3717: --- Yes, the issue is caused by code generation. How

[jira] [Commented] (CALCITE-3721) Filter of distinct aggregate call is lost after applying `AggregateExpandDistinctAggregatesRule`

2020-01-10 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012630#comment-17012630 ] Danny Chen commented on CALCITE-3721: - The new plan's project under the root aggreg

[jira] [Resolved] (CALCITE-3713) Remove column names from Project#digest

2020-01-10 Thread Vladimir Sitnikov (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov resolved CALCITE-3713. Fix Version/s: 1.22.0 Resolution: Fixed Fixed in https://github.com/apach

[jira] [Resolved] (CALCITE-2450) RexSimplify: reorder predicates to a canonical form as a part of RexSimplify

2020-01-10 Thread Vladimir Sitnikov (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov resolved CALCITE-2450. Fix Version/s: 1.22.0 Resolution: Fixed Fixed in https://github.com/apach

[jira] [Assigned] (CALCITE-2450) RexSimplify: reorder predicates to a canonical form as a part of RexSimplify

2020-01-10 Thread Vladimir Sitnikov (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov reassigned CALCITE-2450: -- Assignee: Vladimir Sitnikov > RexSimplify: reorder predicates to a canonical

[jira] [Commented] (CALCITE-3721) Filter of distinct aggregate call is lost after applying `AggregateExpandDistinctAggregatesRule`

2020-01-10 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012547#comment-17012547 ] Danny Chen commented on CALCITE-3721: - Reviewing now ~ > Filter of distinct aggreg