[GitHub] [calcite] danny0405 merged pull request #2078: [CALCITE-4115] Improve the prompt of using SQL keywords for sql parseā€¦

2020-07-20 Thread GitBox
danny0405 merged pull request #2078: URL: https://github.com/apache/calcite/pull/2078 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go

[GitHub] [calcite] liyafan82 commented on a change in pull request #2077: [CALCITE-4132] Estimate the number of distinct values more accurately (Liya Fan)

2020-07-20 Thread GitBox
liyafan82 commented on a change in pull request #2077: URL: https://github.com/apache/calcite/pull/2077#discussion_r457822016 ## File path: core/src/test/java/org/apache/calcite/rel/RelCollationTest.java ## @@ -98,6 +101,12 @@

[GitHub] [calcite] Aaaaaaron commented on a change in pull request #2076: [CALCITE-4111] Remove VolcanoPlannerPhase in Planner (Jiatao Tao)

2020-07-20 Thread GitBox
Aaron commented on a change in pull request #2076: URL: https://github.com/apache/calcite/pull/2076#discussion_r457812900 ## File path: core/src/main/java/org/apache/calcite/plan/volcano/IterativeRuleQueue.java ## @@ -101,51 +63,31 @@ */ @Override public boolean

[GitHub] [calcite] Aaaaaaron commented on a change in pull request #2076: [CALCITE-4111] Remove VolcanoPlannerPhase in Planner (Jiatao Tao)

2020-07-20 Thread GitBox
Aaron commented on a change in pull request #2076: URL: https://github.com/apache/calcite/pull/2076#discussion_r457812998 ## File path: core/src/main/java/org/apache/calcite/plan/volcano/IterativeRuleQueue.java ## @@ -101,51 +63,31 @@ */ @Override public boolean

[GitHub] [calcite] Aaaaaaron commented on a change in pull request #2076: [CALCITE-4111] Remove VolcanoPlannerPhase in Planner (Jiatao Tao)

2020-07-20 Thread GitBox
Aaron commented on a change in pull request #2076: URL: https://github.com/apache/calcite/pull/2076#discussion_r457812834 ## File path: core/src/main/java/org/apache/calcite/plan/volcano/IterativeRuleDriver.java ## @@ -22,11 +22,11 @@ import org.slf4j.Logger; /*** - *

[GitHub] [calcite] Aaaaaaron commented on a change in pull request #2076: [CALCITE-4111] Remove VolcanoPlannerPhase in Planner (Jiatao Tao)

2020-07-20 Thread GitBox
Aaron commented on a change in pull request #2076: URL: https://github.com/apache/calcite/pull/2076#discussion_r457812692 ## File path: core/src/main/java/org/apache/calcite/plan/volcano/IterativeRuleDriver.java ## @@ -22,11 +22,11 @@ import org.slf4j.Logger; /*** - *

[GitHub] [calcite] hsyuan commented on a change in pull request #2076: [CALCITE-4111] Remove VolcanoPlannerPhase in Planner (Jiatao Tao)

2020-07-20 Thread GitBox
hsyuan commented on a change in pull request #2076: URL: https://github.com/apache/calcite/pull/2076#discussion_r457807922 ## File path: core/src/main/java/org/apache/calcite/plan/volcano/IterativeRuleDriver.java ## @@ -22,11 +22,11 @@ import org.slf4j.Logger; /*** - *

[GitHub] [calcite] Aaaaaaron commented on a change in pull request #1495: [CALCITE-3399] Field-pruning for set operators (except UNION ALL) changes query semantics

2020-07-20 Thread GitBox
Aaron commented on a change in pull request #1495: URL: https://github.com/apache/calcite/pull/1495#discussion_r457800490 ## File path: core/src/main/java/org/apache/calcite/sql2rel/RelFieldTrimmer.java ## @@ -697,14 +699,22 @@ public TrimResult trimFields( /** *

[GitHub] [calcite] Aaaaaaron commented on a change in pull request #1495: [CALCITE-3399] Field-pruning for set operators (except UNION ALL) changes query semantics

2020-07-20 Thread GitBox
Aaron commented on a change in pull request #1495: URL: https://github.com/apache/calcite/pull/1495#discussion_r457800490 ## File path: core/src/main/java/org/apache/calcite/sql2rel/RelFieldTrimmer.java ## @@ -697,14 +699,22 @@ public TrimResult trimFields( /** *

[GitHub] [calcite] hsyuan commented on a change in pull request #2074: [CALCITE-4129] Support deep equality check for RelNode

2020-07-20 Thread GitBox
hsyuan commented on a change in pull request #2074: URL: https://github.com/apache/calcite/pull/2074#discussion_r457800157 ## File path: core/src/main/java/org/apache/calcite/rel/RelNode.java ## @@ -335,6 +335,26 @@ default String getDigest() { @API(since = "1.24", status =

[GitHub] [calcite] xy2953396112 commented on pull request #2014: [CALCITE-4022] Support unparse special syntax when operator is INSERT

2020-07-20 Thread GitBox
xy2953396112 commented on pull request #2014: URL: https://github.com/apache/calcite/pull/2014#issuecomment-661558313 > +1 Thanks. This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [calcite] julianhyde commented on pull request #1057: [CALCITE-2854] Codegen compile error when implementing unary minus function with data type BigDecimal

2020-07-20 Thread GitBox
julianhyde commented on pull request #1057: URL: https://github.com/apache/calcite/pull/1057#issuecomment-661405583 @yuqi1129 Please see comments in https://issues.apache.org/jira/browse/CALCITE-2854. This is an automated

[GitHub] [calcite] julianhyde commented on a change in pull request #1057: [CALCITE-2854] Codegen compile error when implementing unary minus function with data type BigDecimal

2020-07-20 Thread GitBox
julianhyde commented on a change in pull request #1057: URL: https://github.com/apache/calcite/pull/1057#discussion_r457733806 ## File path: core/src/main/java/org/apache/calcite/adapter/enumerable/RexImpTable.java ## @@ -2194,7 +2193,14 @@ private Expression

[GitHub] [calcite] julianhyde commented on pull request #1057: [CALCITE-2854] Codegen compile error when implementing unary minus function with data type BigDecimal

2020-07-20 Thread GitBox
julianhyde commented on pull request #1057: URL: https://github.com/apache/calcite/pull/1057#issuecomment-661400067 bq. BigDecimal c = a.nagate();//right @yuqi1129 No, not quite right. `nagate` should be `negate`. bq. Yes, we can implement in RexImpTable directly. Half

[GitHub] [calcite] zabetak commented on a change in pull request #2077: [CALCITE-4132] Estimate the NDV accurately (Liya Fan)

2020-07-20 Thread GitBox
zabetak commented on a change in pull request #2077: URL: https://github.com/apache/calcite/pull/2077#discussion_r457175453 ## File path: core/src/main/java/org/apache/calcite/rel/metadata/RelMdUtil.java ## @@ -293,7 +293,7 @@ public static void setLeftRightBitmaps( *

[calcite] branch branch-1.24 created (now 4b5b910)

2020-07-20 Thread chunwei
This is an automated email from the ASF dual-hosted git repository. chunwei pushed a change to branch branch-1.24 in repository https://gitbox.apache.org/repos/asf/calcite.git. at 4b5b910 [CALCITE-4117] Release Calcite 1.24.0 No new revisions were added by this update.

[calcite] annotated tag calcite-1.24.0-rc0 updated (4b5b910 -> 6ea9d28)

2020-07-20 Thread chunwei
This is an automated email from the ASF dual-hosted git repository. chunwei pushed a change to annotated tag calcite-1.24.0-rc0 in repository https://gitbox.apache.org/repos/asf/calcite.git. *** WARNING: tag calcite-1.24.0-rc0 was modified! *** from 4b5b910 (commit) to 6ea9d28

svn commit: r40574 - in /dev/calcite/apache-calcite-1.24.0-rc0: apache-calcite-1.24.0-src.tar.gz apache-calcite-1.24.0-src.tar.gz.asc apache-calcite-1.24.0-src.tar.gz.sha512

2020-07-20 Thread chunwei
Author: chunwei Date: Mon Jul 20 13:04:04 2020 New Revision: 40574 Log: Uploading release candidate Apache Calcite calcite-1.24.0-rc0 to dev area Modified: dev/calcite/apache-calcite-1.24.0-rc0/apache-calcite-1.24.0-src.tar.gz

svn commit: r40573 - in /dev/calcite/apache-calcite-1.24.0-rc0: apache-calcite-1.24.0-src.tar.gz apache-calcite-1.24.0-src.tar.gz.asc apache-calcite-1.24.0-src.tar.gz.sha512

2020-07-20 Thread chunwei
Author: chunwei Date: Mon Jul 20 12:55:43 2020 New Revision: 40573 Log: Uploading release candidate Apache Calcite calcite-1.24.0-rc0 to dev area Modified: dev/calcite/apache-calcite-1.24.0-rc0/apache-calcite-1.24.0-src.tar.gz

svn commit: r40572 - in /dev/calcite/apache-calcite-1.24.0-rc0: ./ apache-calcite-1.24.0-src.tar.gz apache-calcite-1.24.0-src.tar.gz.asc apache-calcite-1.24.0-src.tar.gz.sha512

2020-07-20 Thread chunwei
Author: chunwei Date: Mon Jul 20 12:47:16 2020 New Revision: 40572 Log: Uploading release candidate Apache Calcite calcite-1.24.0-rc0 to dev area Added: dev/calcite/apache-calcite-1.24.0-rc0/ dev/calcite/apache-calcite-1.24.0-rc0/apache-calcite-1.24.0-src.tar.gz

[GitHub] [calcite] yuqi1129 edited a comment on pull request #1057: [CALCITE-2854] Codegen compile error when implementing unary minus function with data type BigDecimal

2020-07-20 Thread GitBox
yuqi1129 edited a comment on pull request #1057: URL: https://github.com/apache/calcite/pull/1057#issuecomment-660831795 @julianhyde The cause of the problem is that, minus operator '-' is not right for type BigDecimal when implementing unary minus function For example ```

[GitHub] [calcite] yuqi1129 commented on pull request #1057: [CALCITE-2854] Codegen compile error for decimal nagate

2020-07-20 Thread GitBox
yuqi1129 commented on pull request #1057: URL: https://github.com/apache/calcite/pull/1057#issuecomment-660831795 @julianhyde The cause of the problem is that, minus operator '-' is not right for type BigDecimal when implementing unary minus function For example ``` int a

[GitHub] [calcite] yuqi1129 commented on a change in pull request #1057: [CALCITE-2854] Codegen compile error for decimal nagate

2020-07-20 Thread GitBox
yuqi1129 commented on a change in pull request #1057: URL: https://github.com/apache/calcite/pull/1057#discussion_r457094730 ## File path: core/src/main/java/org/apache/calcite/adapter/enumerable/RexImpTable.java ## @@ -2194,7 +2193,14 @@ private Expression