[GitHub] [calcite] sonarcloud[bot] commented on pull request #3193: [CALCITE-5683] Two level nested correlated subquery throws an excepti…

2023-05-29 Thread via GitHub
sonarcloud[bot] commented on PR #3193: URL: https://github.com/apache/calcite/pull/3193#issuecomment-1567778641 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png

[GitHub] [calcite] sonarcloud[bot] commented on pull request #3193: [CALCITE-5683] Two level nested correlated subquery throws an excepti…

2023-05-29 Thread via GitHub
sonarcloud[bot] commented on PR #3193: URL: https://github.com/apache/calcite/pull/3193#issuecomment-1567746749 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png

[GitHub] [calcite] sonarcloud[bot] commented on pull request #3202: [CALCITE-5704] Add ARRAY_EXCEPT, ARRAY_INTERSECT, ARRAY_UNION function (enabled in Spark library)

2023-05-29 Thread via GitHub
sonarcloud[bot] commented on PR #3202: URL: https://github.com/apache/calcite/pull/3202#issuecomment-1567715683 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png

[GitHub] [calcite] sonarcloud[bot] commented on pull request #3229: [CALCITE-5425] Should not pushdown filter through aggregate with an empty groupset

2023-05-29 Thread via GitHub
sonarcloud[bot] commented on PR #3229: URL: https://github.com/apache/calcite/pull/3229#issuecomment-1567692429 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png

[GitHub] [calcite] sonarcloud[bot] commented on pull request #3231: [CALCITE-5701] Add NAMED_STRUCT function (enabled in Spark library)

2023-05-29 Thread via GitHub
sonarcloud[bot] commented on PR #3231: URL: https://github.com/apache/calcite/pull/3231#issuecomment-1567690881 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png

[GitHub] [calcite] sonarcloud[bot] commented on pull request #3212: [CALCITE-5710] Add ARRAY_MAX, ARRAY_MIN function (enabled in Spark li…

2023-05-29 Thread via GitHub
sonarcloud[bot] commented on PR #3212: URL: https://github.com/apache/calcite/pull/3212#issuecomment-1567684684 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png

[GitHub] [calcite] liuyongvs commented on a diff in pull request #3218: [CALCITE-5714] Add MAP_ENTRIES function (enabled in Spark library)

2023-05-29 Thread via GitHub
liuyongvs commented on code in PR #3218: URL: https://github.com/apache/calcite/pull/3218#discussion_r1209649347 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -5397,6 +5397,20 @@ private static void checkIf(SqlOperatorFixture f) {

[GitHub] [calcite] sonarcloud[bot] commented on pull request #3231: [CALCITE-5701] Add NAMED_STRUCT function (enabled in Spark library)

2023-05-29 Thread via GitHub
sonarcloud[bot] commented on PR #3231: URL: https://github.com/apache/calcite/pull/3231#issuecomment-1567681388 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png

[GitHub] [calcite] liuyongvs commented on a diff in pull request #3212: [CALCITE-5710] Add ARRAY_MAX, ARRAY_MIN function (enabled in Spark li…

2023-05-29 Thread via GitHub
liuyongvs commented on code in PR #3212: URL: https://github.com/apache/calcite/pull/3212#discussion_r1209646097 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -5336,6 +5336,36 @@ private static void checkIf(SqlOperatorFixture f) {

[GitHub] [calcite] liuyongvs commented on a diff in pull request #3212: [CALCITE-5710] Add ARRAY_MAX, ARRAY_MIN function (enabled in Spark li…

2023-05-29 Thread via GitHub
liuyongvs commented on code in PR #3212: URL: https://github.com/apache/calcite/pull/3212#discussion_r1209647600 ## core/src/main/java/org/apache/calcite/sql/type/ReturnTypes.java: ## @@ -487,6 +487,18 @@ public static SqlCall stripSeparator(SqlCall call) { -1); };

[GitHub] [calcite] liuyongvs commented on a diff in pull request #3212: [CALCITE-5710] Add ARRAY_MAX, ARRAY_MIN function (enabled in Spark li…

2023-05-29 Thread via GitHub
liuyongvs commented on code in PR #3212: URL: https://github.com/apache/calcite/pull/3212#discussion_r1209646097 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -5336,6 +5336,36 @@ private static void checkIf(SqlOperatorFixture f) {

[GitHub] [calcite] MasseGuillaume commented on a diff in pull request #3218: [CALCITE-5714] Add MAP_ENTRIES function (enabled in Spark library)

2023-05-29 Thread via GitHub
MasseGuillaume commented on code in PR #3218: URL: https://github.com/apache/calcite/pull/3218#discussion_r1209637115 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -5397,6 +5397,20 @@ private static void checkIf(SqlOperatorFixture f) {

[GitHub] [calcite] liuyongvs commented on pull request #3218: [CALCITE-5714] Add MAP_ENTRIES function (enabled in Spark library)

2023-05-29 Thread via GitHub
liuyongvs commented on PR #3218: URL: https://github.com/apache/calcite/pull/3218#issuecomment-1567660894 hi @JiajunBernoulli do you have time to look again? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[GitHub] [calcite] liuyongvs commented on a diff in pull request #3218: [CALCITE-5714] Add MAP_ENTRIES function (enabled in Spark library)

2023-05-29 Thread via GitHub
liuyongvs commented on code in PR #3218: URL: https://github.com/apache/calcite/pull/3218#discussion_r1209634422 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -5397,6 +5397,20 @@ private static void checkIf(SqlOperatorFixture f) {

[GitHub] [calcite] MasseGuillaume commented on a diff in pull request #3212: [CALCITE-5710] Add ARRAY_MAX, ARRAY_MIN function (enabled in Spark li…

2023-05-29 Thread via GitHub
MasseGuillaume commented on code in PR #3212: URL: https://github.com/apache/calcite/pull/3212#discussion_r1209629756 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -5336,6 +5336,36 @@ private static void checkIf(SqlOperatorFixture f) {

[GitHub] [calcite] MasseGuillaume commented on a diff in pull request #3212: [CALCITE-5710] Add ARRAY_MAX, ARRAY_MIN function (enabled in Spark li…

2023-05-29 Thread via GitHub
MasseGuillaume commented on code in PR #3212: URL: https://github.com/apache/calcite/pull/3212#discussion_r1209629756 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -5336,6 +5336,36 @@ private static void checkIf(SqlOperatorFixture f) {

[GitHub] [calcite] MasseGuillaume commented on a diff in pull request #3212: [CALCITE-5710] Add ARRAY_MAX, ARRAY_MIN function (enabled in Spark li…

2023-05-29 Thread via GitHub
MasseGuillaume commented on code in PR #3212: URL: https://github.com/apache/calcite/pull/3212#discussion_r1209623357 ## core/src/main/java/org/apache/calcite/sql/type/ReturnTypes.java: ## @@ -487,6 +487,18 @@ public static SqlCall stripSeparator(SqlCall call) { -1);

[GitHub] [calcite] MasseGuillaume commented on a diff in pull request #3218: [CALCITE-5714] Add MAP_ENTRIES function (enabled in Spark library)

2023-05-29 Thread via GitHub
MasseGuillaume commented on code in PR #3218: URL: https://github.com/apache/calcite/pull/3218#discussion_r1209622163 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -5397,6 +5397,20 @@ private static void checkIf(SqlOperatorFixture f) {

[GitHub] [calcite] MasseGuillaume opened a new pull request, #3231: [CALCITE-5701] Add NAMED_STRUCT function (enabled in Spark library)

2023-05-29 Thread via GitHub
MasseGuillaume opened a new pull request, #3231: URL: https://github.com/apache/calcite/pull/3231 (no comment) -- 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 to the specific comment. To

[calcite] branch main updated (379f41d3be -> c4042a34ef)

2023-05-29 Thread jhyde
This is an automated email from the ASF dual-hosted git repository. jhyde pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/calcite.git from 379f41d3be [CALCITE-5717] RelBuilder.project of literals on a single-row Aggregate should create a Values new

[GitHub] [calcite] sonarcloud[bot] commented on pull request #3054: (do not check in)

2023-05-29 Thread via GitHub
sonarcloud[bot] commented on PR #3054: URL: https://github.com/apache/calcite/pull/3054#issuecomment-1567445690 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png

[GitHub] [calcite] guestli closed pull request #3110: [CALCITE-5568] Add unit tests to the DecorrelateQuery, where there is LogicalValues

2023-05-29 Thread via GitHub
guestli closed pull request #3110: [CALCITE-5568] Add unit tests to the DecorrelateQuery, where there is LogicalValues URL: https://github.com/apache/calcite/pull/3110 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

[GitHub] [calcite] sonarcloud[bot] commented on pull request #3228: [CALCITE-5730] First nulls can be dropped by EnumerableSortLimit with offset

2023-05-29 Thread via GitHub
sonarcloud[bot] commented on PR #3228: URL: https://github.com/apache/calcite/pull/3228#issuecomment-1567055866 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png

[GitHub] [calcite] sonarcloud[bot] commented on pull request #3228: [CALCITE-5730] First nulls can be dropped by EnumerableSortLimit with offset

2023-05-29 Thread via GitHub
sonarcloud[bot] commented on PR #3228: URL: https://github.com/apache/calcite/pull/3228#issuecomment-1567048510 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png

[GitHub] [calcite] gf2121 commented on pull request #3228: [CALCITE-5730] First nulls can be dropped by EnumerableSortLimit with offset

2023-05-29 Thread via GitHub
gf2121 commented on PR #3228: URL: https://github.com/apache/calcite/pull/3228#issuecomment-1567044220 > First of all, as a general comment, the commit message should describe the problem, and not being with "Fix ...". I propose to use as commit message (together with the ticket number)

[GitHub] [calcite] sonarcloud[bot] commented on pull request #3229: [CALCITE-5425] Should not pushdown filter through aggregate with an empty groupset

2023-05-29 Thread via GitHub
sonarcloud[bot] commented on PR #3229: URL: https://github.com/apache/calcite/pull/3229#issuecomment-1567042859 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png

[GitHub] [calcite] libenchao commented on a diff in pull request #3193: [CALCITE-5683] Two level nested correlated subquery throws an excepti…

2023-05-29 Thread via GitHub
libenchao commented on code in PR #3193: URL: https://github.com/apache/calcite/pull/3193#discussion_r1209219091 ## core/src/main/java/org/apache/calcite/rel/rules/SubQueryRemoveRule.java: ## @@ -866,6 +866,10 @@ private static void matchFilter(SubQueryRemoveRule rule,

[GitHub] [calcite] rubenada commented on a diff in pull request #3228: [CALCITE-5730] Fix bug in EnumerableLimitSort when sort NULLS FIRST

2023-05-29 Thread via GitHub
rubenada commented on code in PR #3228: URL: https://github.com/apache/calcite/pull/3228#discussion_r1209198034 ## linq4j/src/main/java/org/apache/calcite/linq4j/EnumerableDefaults.java: ## @@ -2732,6 +2732,7 @@ public static Enumerable orderBy( // search the key up

[GitHub] [calcite] rubenada commented on pull request #3228: [CALCITE-5730] Fix bug in EnumerableLimitSort when sort NULLS FIRST

2023-05-29 Thread via GitHub
rubenada commented on PR #3228: URL: https://github.com/apache/calcite/pull/3228#issuecomment-1566968451 Thanks for the PR @gf2121 . First of all, as a general comment, the commit message should describe the problem, and not being with "Fix ...". I propose to use as commit message

[GitHub] [calcite] sonarcloud[bot] commented on pull request #3228: [CALCITE-5730] Fix bug in EnumerableLimitSort when sort NULLS FIRST

2023-05-29 Thread via GitHub
sonarcloud[bot] commented on PR #3228: URL: https://github.com/apache/calcite/pull/3228#issuecomment-1566949882 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png

[GitHub] [calcite] gf2121 opened a new pull request, #3228: [CALCITE-5730] Fix bug in EnumerableLimitSort when sort NULLS FIRST

2023-05-29 Thread via GitHub
gf2121 opened a new pull request, #3228: URL: https://github.com/apache/calcite/pull/3228 (no comment) -- 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 to the specific comment. To unsubscribe,

[GitHub] [calcite] DonnyZone commented on a diff in pull request #3203: [CALCITE-5703] Reduce amount of generated runtime code

2023-05-29 Thread via GitHub
DonnyZone commented on code in PR #3203: URL: https://github.com/apache/calcite/pull/3203#discussion_r1209127755 ## linq4j/src/main/java/org/apache/calcite/linq4j/tree/OptimizeShuttle.java: ## @@ -164,6 +169,9 @@ && eq(cmp.expression1, expression2)) { Expression

[GitHub] [calcite] sonarcloud[bot] commented on pull request #3203: [CALCITE-5703] Reduce amount of generated runtime code

2023-05-29 Thread via GitHub
sonarcloud[bot] commented on PR #3203: URL: https://github.com/apache/calcite/pull/3203#issuecomment-1566773447 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png

[GitHub] [calcite] HanumathRao commented on a diff in pull request #3193: [CALCITE-5683] Two level nested correlated subquery throws an excepti…

2023-05-29 Thread via GitHub
HanumathRao commented on code in PR #3193: URL: https://github.com/apache/calcite/pull/3193#discussion_r1209078369 ## core/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java: ## @@ -3549,7 +3549,17 @@ protected final void createAggImpl( // implement HAVING (we

[GitHub] [calcite] HanumathRao commented on a diff in pull request #3193: [CALCITE-5683] Two level nested correlated subquery throws an excepti…

2023-05-29 Thread via GitHub
HanumathRao commented on code in PR #3193: URL: https://github.com/apache/calcite/pull/3193#discussion_r1209077887 ## core/src/main/java/org/apache/calcite/rel/rules/SubQueryRemoveRule.java: ## @@ -866,6 +866,8 @@ private static void matchFilter(SubQueryRemoveRule rule,

[GitHub] [calcite] HanumathRao commented on a diff in pull request #3193: [CALCITE-5683] Two level nested correlated subquery throws an excepti…

2023-05-29 Thread via GitHub
HanumathRao commented on code in PR #3193: URL: https://github.com/apache/calcite/pull/3193#discussion_r1209076981 ## core/src/test/java/org/apache/calcite/test/RelOptRulesTest.java: ## @@ -6823,6 +6823,48 @@ private void checkSemiJoinRuleOnAntiJoin(RelOptRule rule) {

[GitHub] [calcite] sonarcloud[bot] commented on pull request #3203: [CALCITE-5703] Reduce amount of generated runtime code

2023-05-29 Thread via GitHub
sonarcloud[bot] commented on PR #3203: URL: https://github.com/apache/calcite/pull/3203#issuecomment-1566639257 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png

[GitHub] [calcite] sonarcloud[bot] commented on pull request #3193: [CALCITE-5683] Two level nested correlated subquery throws an excepti…

2023-05-29 Thread via GitHub
sonarcloud[bot] commented on PR #3193: URL: https://github.com/apache/calcite/pull/3193#issuecomment-1566612695 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png