[GitHub] [calcite] chucheng92 commented on a diff in pull request #3366: [CALCITE-5909] Failed SqlParserTest#testNoUnintendedNewReservedKeywords and not covered by build pipeline

2023-08-22 Thread via GitHub
chucheng92 commented on code in PR #3366: URL: https://github.com/apache/calcite/pull/3366#discussion_r1302342558 ## core/src/main/codegen/templates/Parser.jj: ## @@ -7462,6 +7462,8 @@ SqlIdentifier ReservedFunctionName() : | | | +| +|

[GitHub] [calcite] chucheng92 commented on a diff in pull request #3366: [CALCITE-5909] Failed SqlParserTest#testNoUnintendedNewReservedKeywords and not covered by build pipeline

2023-08-22 Thread via GitHub
chucheng92 commented on code in PR #3366: URL: https://github.com/apache/calcite/pull/3366#discussion_r1302342558 ## core/src/main/codegen/templates/Parser.jj: ## @@ -7462,6 +7462,8 @@ SqlIdentifier ReservedFunctionName() : | | | +| +|

[GitHub] [calcite] zoudan commented on pull request #3378: [CALCITE-5770] Add SAFE_SUBTRACT function (enabled in BigQuery library)

2023-08-22 Thread via GitHub
zoudan commented on PR #3378: URL: https://github.com/apache/calcite/pull/3378#issuecomment-1689158766 LGTM -- 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] chucheng92 commented on a diff in pull request #3366: [CALCITE-5909] Failed SqlParserTest#testNoUnintendedNewReservedKeywords and not covered by build pipeline

2023-08-22 Thread via GitHub
chucheng92 commented on code in PR #3366: URL: https://github.com/apache/calcite/pull/3366#discussion_r1301143768 ## core/src/main/codegen/templates/Parser.jj: ## @@ -7462,6 +7462,8 @@ SqlIdentifier ReservedFunctionName() : | | | +| +|

[GitHub] [calcite] chucheng92 commented on a diff in pull request #3366: [CALCITE-5909] Failed SqlParserTest#testNoUnintendedNewReservedKeywords and not covered by build pipeline

2023-08-22 Thread via GitHub
chucheng92 commented on code in PR #3366: URL: https://github.com/apache/calcite/pull/3366#discussion_r1301143768 ## core/src/main/codegen/templates/Parser.jj: ## @@ -7462,6 +7462,8 @@ SqlIdentifier ReservedFunctionName() : | | | +| +|

[GitHub] [calcite] chucheng92 commented on a diff in pull request #3366: [CALCITE-5909] Failed SqlParserTest#testNoUnintendedNewReservedKeywords and not covered by build pipeline

2023-08-22 Thread via GitHub
chucheng92 commented on code in PR #3366: URL: https://github.com/apache/calcite/pull/3366#discussion_r1301143768 ## core/src/main/codegen/templates/Parser.jj: ## @@ -7462,6 +7462,8 @@ SqlIdentifier ReservedFunctionName() : | | | +| +|

[GitHub] [calcite] chucheng92 commented on a diff in pull request #3366: [CALCITE-5909] Failed SqlParserTest#testNoUnintendedNewReservedKeywords and not covered by build pipeline

2023-08-22 Thread via GitHub
chucheng92 commented on code in PR #3366: URL: https://github.com/apache/calcite/pull/3366#discussion_r1301143768 ## core/src/main/codegen/templates/Parser.jj: ## @@ -7462,6 +7462,8 @@ SqlIdentifier ReservedFunctionName() : | | | +| +|

[GitHub] [calcite] chucheng92 commented on pull request #3366: [CALCITE-5909] Failed SqlParserTest#testNoUnintendedNewReservedKeywords and not covered by build pipeline

2023-08-22 Thread via GitHub
chucheng92 commented on PR #3366: URL: https://github.com/apache/calcite/pull/3366#issuecomment-1687681608 Hi, bencao, thanks for reviewing. this PR is related with [CALCITE-5564](https://issues.apache.org/jira/browse/CALCITE-5564) (https://github.com/apache/calcite/pull/3210), this PR

[GitHub] [calcite] sonarcloud[bot] commented on pull request #3375: [CALCITE-5583] JDBC adapter does not generate 'SELECT *' when duplicate field names

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

[GitHub] [calcite] Rajeshwari4 opened a new pull request, #3388: SF-BQ : RSFB-969 - Support for TRY_TO_DOUBLE function

2023-08-22 Thread via GitHub
Rajeshwari4 opened a new pull request, #3388: URL: https://github.com/apache/calcite/pull/3388 (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] sonarcloud[bot] commented on pull request #3368: [CALCITE-5931] Allow round decimals like 1.00 in window ranges

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

[GitHub] [calcite] Rajeshwari4 closed pull request #3388: SF-BQ : RSFB-969 - Support for TRY_TO_DOUBLE function

2023-08-22 Thread via GitHub
Rajeshwari4 closed pull request #3388: SF-BQ : RSFB-969 - Support for TRY_TO_DOUBLE function URL: https://github.com/apache/calcite/pull/3388 -- 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

[GitHub] [calcite] sonarcloud[bot] commented on pull request #3375: [CALCITE-5583] JDBC adapter does not generate 'SELECT *' when duplicate field names

2023-08-22 Thread via GitHub
sonarcloud[bot] commented on PR #3375: URL: https://github.com/apache/calcite/pull/3375#issuecomment-1687742057 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 #3375: [CALCITE-5583] JDBC adapter does not generate 'SELECT *' when duplicate field names

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

[GitHub] [calcite] macroguo-ghy opened a new pull request, #3389: [CALCITE-5935] Add CODE_POINTS_TO_BYTES function (enabled in BigQuery…

2023-08-22 Thread via GitHub
macroguo-ghy opened a new pull request, #3389: URL: https://github.com/apache/calcite/pull/3389 … library) -- 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] sonarcloud[bot] commented on pull request #3389: [CALCITE-5935] Add CODE_POINTS_TO_BYTES function (enabled in BigQuery…

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

[GitHub] [calcite] macroguo-ghy commented on pull request #3373: [CALCITE-5935] Add CODE_POINTS_TO_BYTES function (enabled in BigQuery…

2023-08-22 Thread via GitHub
macroguo-ghy commented on PR #3373: URL: https://github.com/apache/calcite/pull/3373#issuecomment-1687970399 Hi @julianhyde @tanclary @herunkang2018 , thanks for your review and suggestions! I cannot solve weird failures for CI / Windows (JDK 17) in this PR, so I have opened a new PR

[GitHub] [calcite] libenchao commented on a diff in pull request #3366: [CALCITE-5909] Failed SqlParserTest#testNoUnintendedNewReservedKeywords and not covered by build pipeline

2023-08-22 Thread via GitHub
libenchao commented on code in PR #3366: URL: https://github.com/apache/calcite/pull/3366#discussion_r1301478057 ## core/src/main/codegen/templates/Parser.jj: ## @@ -7462,6 +7462,8 @@ SqlIdentifier ReservedFunctionName() : | | | +| +|

[GitHub] [calcite] libenchao commented on pull request #3366: [CALCITE-5909] Failed SqlParserTest#testNoUnintendedNewReservedKeywords and not covered by build pipeline

2023-08-22 Thread via GitHub
libenchao commented on PR #3366: URL: https://github.com/apache/calcite/pull/3366#issuecomment-1687979383 > Hi, @libenchao , thanks for reviewing. this PR is related with [CALCITE-5564](https://issues.apache.org/jira/browse/CALCITE-5564) (#3210), this PR reset the change of keywords in

[GitHub] [calcite] hujianhong commented on a diff in pull request #3292: [CALCITE-5807] Add SUBSTRING_INDEX function (enabled in Spark library)

2023-08-22 Thread via GitHub
hujianhong commented on code in PR #3292: URL: https://github.com/apache/calcite/pull/3292#discussion_r1301658300 ## site/_docs/reference.md: ## @@ -2764,6 +2764,7 @@ BigQuery's type system uses confusingly different names for types and functions: | s |

[GitHub] [calcite] hujianhong commented on a diff in pull request #3292: [CALCITE-5807] Add SUBSTRING_INDEX function (enabled in Spark library)

2023-08-22 Thread via GitHub
hujianhong commented on code in PR #3292: URL: https://github.com/apache/calcite/pull/3292#discussion_r1301664621 ## site/_docs/reference.md: ## @@ -2764,6 +2764,7 @@ BigQuery's type system uses confusingly different names for types and functions: | s |

[GitHub] [calcite] sonarcloud[bot] commented on pull request #3390: [CALCITE-5949] Correct handling of invalid constant expressions in reduction

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

[GitHub] [calcite] tanclary commented on a diff in pull request #3366: [CALCITE-5909] Failed SqlParserTest#testNoUnintendedNewReservedKeywords and not covered by build pipeline

2023-08-22 Thread via GitHub
tanclary commented on code in PR #3366: URL: https://github.com/apache/calcite/pull/3366#discussion_r1301806892 ## core/src/main/codegen/templates/Parser.jj: ## @@ -7462,6 +7462,8 @@ SqlIdentifier ReservedFunctionName() : | | | +| +|

[GitHub] [calcite] tanclary commented on a diff in pull request #3389: [CALCITE-5935] Add CODE_POINTS_TO_BYTES function (enabled in BigQuery…

2023-08-22 Thread via GitHub
tanclary commented on code in PR #3389: URL: https://github.com/apache/calcite/pull/3389#discussion_r1301810987 ## core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java: ## @@ -929,6 +929,29 @@ public static String charFromUtf8(int n) { return

[GitHub] [calcite] tanclary commented on a diff in pull request #3389: [CALCITE-5935] Add CODE_POINTS_TO_BYTES function (enabled in BigQuery…

2023-08-22 Thread via GitHub
tanclary commented on code in PR #3389: URL: https://github.com/apache/calcite/pull/3389#discussion_r1301811407 ## core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java: ## @@ -929,6 +929,29 @@ public static String charFromUtf8(int n) { return

[GitHub] [calcite] tanclary commented on a diff in pull request #3378: [CALCITE-5770] Add SAFE_SUBTRACT function (enabled in BigQuery library)

2023-08-22 Thread via GitHub
tanclary commented on code in PR #3378: URL: https://github.com/apache/calcite/pull/3378#discussion_r1301886422 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -7401,6 +7470,87 @@ private static void checkIf(SqlOperatorFixture f) {

[GitHub] [calcite] tanclary commented on pull request #3378: [CALCITE-5770] Add SAFE_SUBTRACT function (enabled in BigQuery library)

2023-08-22 Thread via GitHub
tanclary commented on PR #3378: URL: https://github.com/apache/calcite/pull/3378#issuecomment-1688522551 @JiajunBernoulli @zoudan Thank you both for your comments, I have dropped the SAFE_DIVIDE commit from this PR to make it more clear. The expression parameters tests will be added in the

[GitHub] [calcite] sonarcloud[bot] commented on pull request #3378: [CALCITE-5770] Add SAFE_SUBTRACT function (enabled in BigQuery library)

2023-08-22 Thread via GitHub
sonarcloud[bot] commented on PR #3378: URL: https://github.com/apache/calcite/pull/3378#issuecomment-1688547347 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 #3378: [CALCITE-5770] Add SAFE_SUBTRACT function (enabled in BigQuery library)

2023-08-22 Thread via GitHub
sonarcloud[bot] commented on PR #3378: URL: https://github.com/apache/calcite/pull/3378#issuecomment-1688557395 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 #3378: [CALCITE-5770] Add SAFE_SUBTRACT function (enabled in BigQuery library)

2023-08-22 Thread via GitHub
sonarcloud[bot] commented on PR #3378: URL: https://github.com/apache/calcite/pull/3378#issuecomment-1688560349 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 #3378: [CALCITE-5770] Add SAFE_SUBTRACT function (enabled in BigQuery library)

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

[GitHub] [calcite] tanclary opened a new pull request, #3391: [CALCITE-5933] Add SAFE_DIVIDE function (enabled in BigQuery library)

2023-08-22 Thread via GitHub
tanclary opened a new pull request, #3391: URL: https://github.com/apache/calcite/pull/3391 (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] sonarcloud[bot] commented on pull request #3391: [CALCITE-5933] Add SAFE_DIVIDE function (enabled in BigQuery library)

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

[GitHub] [calcite] tanclary opened a new pull request, #3392: [CALCITE-5938] Update HSQLDB to Version 2.7.1

2023-08-22 Thread via GitHub
tanclary opened a new pull request, #3392: URL: https://github.com/apache/calcite/pull/3392 Test PR to see how CI reacts to updating HSQLDB @shalaniw -- 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] sonarcloud[bot] commented on pull request #3391: [CALCITE-5933] Add SAFE_DIVIDE function (enabled in BigQuery library)

2023-08-22 Thread via GitHub
sonarcloud[bot] commented on PR #3391: URL: https://github.com/apache/calcite/pull/3391#issuecomment-1688685641 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 #3392: [CALCITE-5938] Update HSQLDB to Version 2.7.1

2023-08-22 Thread via GitHub
sonarcloud[bot] commented on PR #3392: URL: https://github.com/apache/calcite/pull/3392#issuecomment-1688710392 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 #3392: [CALCITE-5938] Update HSQLDB to Version 2.7.1

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