[jira] [Updated] (CALCITE-3163) Mapping of Types in AbstractCursor#convertValue() does not adhere to JDBC specifications

2019-07-03 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3163: Labels: pull-request-available (was: ) > Mapping of Types in AbstractCursor#convertValue

[jira] [Comment Edited] (CALCITE-3163) Mapping of Types in AbstractCursor#convertValue() does not adhere to JDBC specifications

2019-07-03 Thread Ralph Gasser (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877531#comment-16877531 ] Ralph Gasser edited comment on CALCITE-3163 at 7/3/19 7:17 AM: --

[jira] [Created] (CALCITE-3170) join condition of ANTI join can not be pushed down

2019-07-03 Thread godfrey he (JIRA)
godfrey he created CALCITE-3170: --- Summary: join condition of ANTI join can not be pushed down Key: CALCITE-3170 URL: https://issues.apache.org/jira/browse/CALCITE-3170 Project: Calcite Issue Ty

[jira] [Updated] (CALCITE-3160) Failed to materialize when the aggregate function uses group key

2019-07-03 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3160: Labels: pull-request-available (was: ) > Failed to materialize when the aggregate functi

[jira] [Assigned] (CALCITE-3160) TrivialRule should conduct replacement when it matches

2019-07-03 Thread Feng Zhu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Feng Zhu reassigned CALCITE-3160: - Assignee: Feng Zhu > TrivialRule should conduct replacement when it matches >

[jira] [Updated] (CALCITE-3160) TrivialRule should conduct replacement when it matches

2019-07-03 Thread Feng Zhu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Feng Zhu updated CALCITE-3160: -- Summary: TrivialRule should conduct replacement when it matches (was: Failed to materialize when the

[jira] [Created] (CALCITE-3171) RelOptUtil#pushDownJoinConditions should handle SEMI/ANTI join specially about project shift mapping

2019-07-03 Thread godfrey he (JIRA)
godfrey he created CALCITE-3171: --- Summary: RelOptUtil#pushDownJoinConditions should handle SEMI/ANTI join specially about project shift mapping Key: CALCITE-3171 URL: https://issues.apache.org/jira/browse/CALCITE-31

[jira] [Commented] (CALCITE-3160) TrivialRule should conduct replacement when it matches

2019-07-03 Thread Feng Zhu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877598#comment-16877598 ] Feng Zhu commented on CALCITE-3160: --- I incline to fix the TrivialRule because _call.r

[jira] [Commented] (CALCITE-3171) RelOptUtil#pushDownJoinConditions should handle SEMI/ANTI join specially about project shift mapping

2019-07-03 Thread Stamatis Zampetakis (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877673#comment-16877673 ] Stamatis Zampetakis commented on CALCITE-3171: -- I guess this is related to

[jira] [Updated] (CALCITE-3163) Mapping of Types in AbstractCursor#convertValue() does not adhere to JDBC specifications

2019-07-03 Thread Ralph Gasser (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ralph Gasser updated CALCITE-3163: -- Fix Version/s: avatica-1.16.0 > Mapping of Types in AbstractCursor#convertValue() does not ad

[jira] [Updated] (CALCITE-3162) Reading Arrays from Calcite through JdbcMeta generates AvaticaSqlException

2019-07-03 Thread Ralph Gasser (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ralph Gasser updated CALCITE-3162: -- Attachment: (was: patch0002.diff) > Reading Arrays from Calcite through JdbcMeta generate

[jira] [Comment Edited] (CALCITE-3162) Reading Arrays from Calcite through JdbcMeta generates AvaticaSqlException

2019-07-03 Thread Ralph Gasser (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877532#comment-16877532 ] Ralph Gasser edited comment on CALCITE-3162 at 7/3/19 9:58 AM: --

[jira] [Commented] (CALCITE-3145) RelBuilder.aggregate throws IndexOutOfBoundsException if groupKey is non-empty and there are duplicate aggregate functions

2019-07-03 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877736#comment-16877736 ] Anton Haidai commented on CALCITE-3145: --- {quote}It's probably a good idea to test

[jira] [Updated] (CALCITE-3162) Reading Arrays from Calcite through JdbcMeta generates AvaticaSqlException

2019-07-03 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3162: Labels: pull-request-available (was: ) > Reading Arrays from Calcite through JdbcMeta ge

[jira] [Commented] (CALCITE-3162) Reading Arrays from Calcite through JdbcMeta generates AvaticaSqlException

2019-07-03 Thread Ralph Gasser (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877794#comment-16877794 ] Ralph Gasser commented on CALCITE-3162: --- Pull request: [https://github.com/apache

[jira] [Commented] (CALCITE-3167) Remove overriding equals and hashCode methods in EnumerableTableScan

2019-07-03 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877833#comment-16877833 ] jin xing commented on CALCITE-3167: --- Thanks a lot for reply [~julianhyde] # I also t

[jira] [Comment Edited] (CALCITE-3167) Remove overriding equals and hashCode methods in EnumerableTableScan

2019-07-03 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877833#comment-16877833 ] jin xing edited comment on CALCITE-3167 at 7/3/19 1:28 PM: --- T

[jira] [Resolved] (CALCITE-3123) In RelBuilder, eliminate duplicate aggregate calls

2019-07-03 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde resolved CALCITE-3123. -- Resolution: Fixed Fix Version/s: 1.20.0 Fixed in [e01ba5ab6|https://github.com/apache/

[jira] [Commented] (CALCITE-3167) Remove overriding equals and hashCode methods in EnumerableTableScan

2019-07-03 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878107#comment-16878107 ] Julian Hyde commented on CALCITE-3167: -- I disagree with your point 2. For some pur

[jira] [Commented] (CALCITE-3145) RelBuilder.aggregate throws IndexOutOfBoundsException if groupKey is non-empty and there are duplicate aggregate functions

2019-07-03 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878120#comment-16878120 ] Julian Hyde commented on CALCITE-3145: -- That would be most welcome. You don't even

[jira] [Commented] (CALCITE-3160) TrivialRule should conduct replacement when it matches

2019-07-03 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878122#comment-16878122 ] Julian Hyde commented on CALCITE-3160: -- TrivialRule is private, so your descriptio

[jira] [Commented] (CALCITE-3170) join condition of ANTI join can not be pushed down

2019-07-03 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878123#comment-16878123 ] Julian Hyde commented on CALCITE-3170: -- Can you clarify your description? It is no

[jira] [Commented] (CALCITE-3169) decorrelateRel method should return when meeting SEMI/ANTI join in RelDecorrelator

2019-07-03 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878126#comment-16878126 ] Julian Hyde commented on CALCITE-3169: -- Can you change the description to somethin

[jira] [Commented] (CALCITE-3164) Averaging an all-nulls values after grouping produce NaN instead of NULL

2019-07-03 Thread Muhammad Gelbana (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878138#comment-16878138 ] Muhammad Gelbana commented on CALCITE-3164: --- You're correct. It turned out th

[jira] [Updated] (CALCITE-3162) Reading Arrays from Calcite through JdbcMeta generates AvaticaSqlException

2019-07-03 Thread Ralph Gasser (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ralph Gasser updated CALCITE-3162: -- Fix Version/s: avatica-1.16.0 > Reading Arrays from Calcite through JdbcMeta generates Avatic

[jira] [Closed] (CALCITE-3164) Averaging an all-nulls values after grouping produce NaN instead of NULL

2019-07-03 Thread Muhammad Gelbana (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Muhammad Gelbana closed CALCITE-3164. - Resolution: Not A Bug > Averaging an all-nulls values after grouping produce NaN instea

[jira] [Updated] (CALCITE-3160) Failed to materialize when the aggregate function uses group key

2019-07-03 Thread Haisheng Yuan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Haisheng Yuan updated CALCITE-3160: --- Summary: Failed to materialize when the aggregate function uses group key (was: TrivialRul

[jira] [Commented] (CALCITE-3160) Failed to materialize when the aggregate function uses group key

2019-07-03 Thread Haisheng Yuan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878157#comment-16878157 ] Haisheng Yuan commented on CALCITE-3160: So the original description is more ap

[jira] [Comment Edited] (CALCITE-3160) Failed to materialize when the aggregate function uses group key

2019-07-03 Thread Haisheng Yuan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878157#comment-16878157 ] Haisheng Yuan edited comment on CALCITE-3160 at 7/3/19 8:52 PM: -

[jira] [Commented] (CALCITE-3147) BigQuery (standard SQL) quoting and identifier issues

2019-07-03 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878236#comment-16878236 ] Julian Hyde commented on CALCITE-3147: -- After these changes, BigQuery dialect: * q

[jira] [Resolved] (CALCITE-3121) VolcanoPlanner hangs due to subquery with dynamic star

2019-07-03 Thread Danny Chan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Danny Chan resolved CALCITE-3121. - Resolution: Fixed Fixed in [0ed54bd|https://github.com/apache/calcite/commit/0ed54bd64d0beb084

[jira] [Commented] (CALCITE-3160) Failed to materialize when the aggregate function uses group key

2019-07-03 Thread Feng Zhu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878279#comment-16878279 ] Feng Zhu commented on CALCITE-3160: --- [~julianhyde], [~hyuan]. Thanks for advice, I wi

[jira] [Commented] (CALCITE-3167) Remove overriding equals and hashCode methods in EnumerableTableScan

2019-07-03 Thread jin xing (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878284#comment-16878284 ] jin xing commented on CALCITE-3167: --- [~amargoor]  Gentle ping~ It's great if you can