[jira] [Comment Edited] (CALCITE-4337) Supports PARTITION BY clause for table function table argument

2021-09-14 Thread JING ZHANG (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415299#comment-17415299 ] JING ZHANG edited comment on CALCITE-4337 at 9/15/21, 3:51 AM: --

[jira] [Comment Edited] (CALCITE-4337) Supports PARTITION BY clause for table function table argument

2021-09-14 Thread JING ZHANG (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415299#comment-17415299 ] JING ZHANG edited comment on CALCITE-4337 at 9/15/21, 3:49 AM: --

[jira] [Closed] (CALCITE-4747) Remove outdated graph edges in HepPlanner

2021-09-14 Thread Jianhui Dong (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jianhui Dong closed CALCITE-4747. - > Remove outdated graph edges in HepPlanner > - > >

[jira] [Closed] (CALCITE-4766) Remove unreachable code from SqlValidatorImpl#performUnconditionalRewrites for VALUES node

2021-09-14 Thread Jianhui Dong (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jianhui Dong closed CALCITE-4766. - > Remove unreachable code from SqlValidatorImpl#performUnconditionalRewrites > for VALUES node > -

[jira] [Comment Edited] (CALCITE-4337) Supports PARTITION BY clause for table function table argument

2021-09-14 Thread JING ZHANG (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415299#comment-17415299 ] JING ZHANG edited comment on CALCITE-4337 at 9/15/21, 3:13 AM: --

[jira] [Commented] (CALCITE-4337) Supports PARTITION BY clause for table function table argument

2021-09-14 Thread JING ZHANG (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415299#comment-17415299 ] JING ZHANG commented on CALCITE-4337: - [~danny0405] Hi, Danny, I would like to cont

[jira] [Commented] (CALCITE-4702) Error when executing query with GROUP BY constant via JDBC adapter

2021-09-14 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415271#comment-17415271 ] Julian Hyde commented on CALCITE-4702: -- I think that "GROUP BY (SELECT TRUE)" is a

[jira] [Commented] (CALCITE-4771) change the value of the CAST function to be nullable

2021-09-14 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415270#comment-17415270 ] Julian Hyde commented on CALCITE-4771: -- Thanks for doing that research. I think we

[jira] [Commented] (CALCITE-4686) SubQueryRemoveRule.matchJoin should correctly rewrite all sub-queries

2021-09-14 Thread James Starr (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415162#comment-17415162 ] James Starr commented on CALCITE-4686: -- [~zabetak], Thank you for looking into it.

[jira] [Commented] (CALCITE-4775) Fine grained tuning of call rewrite behaviour

2021-09-14 Thread Francesco Guardiani (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415012#comment-17415012 ] Francesco Guardiani commented on CALCITE-4775: -- As far as I see in calcite

[jira] [Commented] (CALCITE-4702) Error when executing query with GROUP BY constant via JDBC adapter

2021-09-14 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415001#comment-17415001 ] Stamatis Zampetakis commented on CALCITE-4702: -- [~julianhyde] what I had i

[jira] [Commented] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule can produce result with wrong row type

2021-09-14 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17414988#comment-17414988 ] Julian Hyde commented on CALCITE-4773: -- Most likely the validator is assigning the

[jira] [Commented] (CALCITE-4702) Error when executing query with GROUP BY constant via JDBC adapter

2021-09-14 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17414986#comment-17414986 ] Julian Hyde commented on CALCITE-4702: -- I support having the method supportsGroupB

[jira] [Commented] (CALCITE-4775) Fine grained tuning of call rewrite behaviour

2021-09-14 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17414981#comment-17414981 ] Julian Hyde commented on CALCITE-4775: -- Yes, it would be OK to add fine-grained co

[jira] [Commented] (CALCITE-4686) SubQueryRemoveRule.matchJoin should correctly rewrite all sub-queries

2021-09-14 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17414956#comment-17414956 ] Stamatis Zampetakis commented on CALCITE-4686: -- Hi [~jamesstarr], I checke

[jira] [Commented] (CALCITE-4742) Implement NOT EQUALS in SOME sub-query

2021-09-14 Thread duan xiong (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17414940#comment-17414940 ] duan xiong commented on CALCITE-4742: - [~julianhyde] [~ivandasch]  Hi. I think this

[jira] [Updated] (CALCITE-4772) PushProjector assigns incorrect field alias when handling RexCall

2021-09-14 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-4772: Labels: pull-request-available (was: ) > PushProjector assigns incorrect field alias whe

[jira] [Commented] (CALCITE-4702) Error when executing query with GROUP BY constant via JDBC adapter

2021-09-14 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17414812#comment-17414812 ] Stamatis Zampetakis commented on CALCITE-4702: -- Indeed the previous querie

[jira] [Updated] (CALCITE-4774) When predicate conditions are equivalent, materialized view recognition fails.

2021-09-14 Thread xzh_dz (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] xzh_dz updated CALCITE-4774: Issue Type: Improvement (was: New Feature) > When predicate conditions are equivalent, materialized view

[jira] [Created] (CALCITE-4775) Fine grained tuning of call rewrite behaviour

2021-09-14 Thread Francesco Guardiani (Jira)
Francesco Guardiani created CALCITE-4775: Summary: Fine grained tuning of call rewrite behaviour Key: CALCITE-4775 URL: https://issues.apache.org/jira/browse/CALCITE-4775 Project: Calcite

[jira] [Comment Edited] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule can produce result with wrong row type

2021-09-14 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17414767#comment-17414767 ] Ruben Q L edited comment on CALCITE-4773 at 9/14/21, 7:16 AM: ---

[jira] [Commented] (CALCITE-4773) RelDecorrelator's RemoveSingleAggregateRule can produce result with wrong row type

2021-09-14 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17414767#comment-17414767 ] Ruben Q L commented on CALCITE-4773: {quote}No, it always produces a nullable type