[GitHub] [calcite-avatica] zoudan commented on pull request #204: [CALCITE-5120] Throw SQLException from UnregisteredDriver#connect if url is null

2023-01-09 Thread GitBox
zoudan commented on PR #204: URL: https://github.com/apache/calcite-avatica/pull/204#issuecomment-1376623893 It seems the CI failed because of something has nothing to do with my changes, should we rerun the CI? -- This is an automated message from the Apache Git Service. To respond to t

[GitHub] [calcite] olivrlee commented on a diff in pull request #3009: CALCITE-5447/ DATE_TRUNC() function for BIG_QUERY

2023-01-09 Thread GitBox
olivrlee commented on code in PR #3009: URL: https://github.com/apache/calcite/pull/3009#discussion_r1065256516 ## core/src/main/codegen/templates/Parser.jj: ## @@ -5050,6 +5050,86 @@ SqlIntervalQualifier TimeUnitOrName() : { } } + SqlIntervalQualifier TimeUnitOrNameFor

[GitHub] [calcite] olivrlee commented on a diff in pull request #3009: CALCITE-5447/ DATE_TRUNC() function for BIG_QUERY

2023-01-09 Thread GitBox
olivrlee commented on code in PR #3009: URL: https://github.com/apache/calcite/pull/3009#discussion_r1065115931 ## core/src/main/codegen/templates/Parser.jj: ## @@ -5050,6 +5050,86 @@ SqlIntervalQualifier TimeUnitOrName() : { } } + SqlIntervalQualifier TimeUnitOrNameFor

[GitHub] [calcite] julianhyde commented on a diff in pull request #3009: CALCITE-5447/ DATE_TRUNC() function for BIG_QUERY

2023-01-09 Thread GitBox
julianhyde commented on code in PR #3009: URL: https://github.com/apache/calcite/pull/3009#discussion_r1065243893 ## babel/src/test/java/org/apache/calcite/test/BabelTest.java: ## @@ -189,6 +189,23 @@ private void checkInfixCast(Statement statement, String typeName, int sqlType

[GitHub] [calcite] julianhyde commented on a diff in pull request #3009: CALCITE-5447/ DATE_TRUNC() function for BIG_QUERY

2023-01-09 Thread GitBox
julianhyde commented on code in PR #3009: URL: https://github.com/apache/calcite/pull/3009#discussion_r1065237286 ## babel/src/test/resources/sql/big-query.iq: ## @@ -1691,16 +1691,38 @@ SELECT TIMESTAMP_DIFF("2001-02-01 01:00:00", "2001-02-01 00:00:01", HOUR) AS neg # cor

[GitHub] [calcite] julianhyde commented on a diff in pull request #3009: CALCITE-5447/ DATE_TRUNC() function for BIG_QUERY

2023-01-09 Thread GitBox
julianhyde commented on code in PR #3009: URL: https://github.com/apache/calcite/pull/3009#discussion_r1065235831 ## core/src/main/codegen/templates/Parser.jj: ## @@ -5050,6 +5050,86 @@ SqlIntervalQualifier TimeUnitOrName() : { } } + SqlIntervalQualifier TimeUnitOrNameF

[GitHub] [calcite] julianhyde commented on a diff in pull request #3009: CALCITE-5447/ DATE_TRUNC() function for BIG_QUERY

2023-01-09 Thread GitBox
julianhyde commented on code in PR #3009: URL: https://github.com/apache/calcite/pull/3009#discussion_r1065235428 ## babel/src/test/resources/sql/redshift.iq: ## @@ -1238,7 +1238,7 @@ select date_part(minute, time '02:08:01'); select date_part(minute, date '2009-01-01'); !ok

[GitHub] [calcite] sonarcloud[bot] commented on pull request #2942: (do not merge)

2023-01-09 Thread GitBox
sonarcloud[bot] commented on PR #2942: URL: https://github.com/apache/calcite/pull/2942#issuecomment-1376524034 SonarCloud Quality Gate failed.    [![Quality Gate failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png 'Quality Gat

[GitHub] [calcite] olivrlee commented on a diff in pull request #3009: CALCITE-5447/ DATE_TRUNC() function for BIG_QUERY

2023-01-09 Thread GitBox
olivrlee commented on code in PR #3009: URL: https://github.com/apache/calcite/pull/3009#discussion_r1065125968 ## core/src/main/codegen/templates/Parser.jj: ## @@ -5050,6 +5050,86 @@ SqlIntervalQualifier TimeUnitOrName() : { } } + SqlIntervalQualifier TimeUnitOrNameFor

[GitHub] [calcite] olivrlee commented on a diff in pull request #3009: CALCITE-5447/ DATE_TRUNC() function for BIG_QUERY

2023-01-09 Thread GitBox
olivrlee commented on code in PR #3009: URL: https://github.com/apache/calcite/pull/3009#discussion_r1065115931 ## core/src/main/codegen/templates/Parser.jj: ## @@ -5050,6 +5050,86 @@ SqlIntervalQualifier TimeUnitOrName() : { } } + SqlIntervalQualifier TimeUnitOrNameFor

[GitHub] [calcite] tjbanghart commented on a diff in pull request #3009: CALCITE-5447/ DATE_TRUNC() function for BIG_QUERY

2023-01-09 Thread GitBox
tjbanghart commented on code in PR #3009: URL: https://github.com/apache/calcite/pull/3009#discussion_r1065108800 ## core/src/main/codegen/templates/Parser.jj: ## @@ -5050,6 +5050,86 @@ SqlIntervalQualifier TimeUnitOrName() : { } } + SqlIntervalQualifier TimeUnitOrNameF

[GitHub] [calcite] risdenk commented on pull request #2919: [CALCITE-5298] CalciteSystemProperty calcite.test.dataset path check fails under Java Security Manager

2023-01-09 Thread GitBox
risdenk commented on PR #2919: URL: https://github.com/apache/calcite/pull/2919#issuecomment-1376177689 > SonarCloud Quality Gate failed.    [![Quality Gate failed](https://camo.githubusercontent.com/121da9aaaee76c9a59af5d57beb6400e9b2974722e1f71a33c0b4dc445b55041/68747470733a2f2f736f6e61727

[GitHub] [calcite] julianhyde commented on a diff in pull request #3022: [CALCITE-5468] SqlToRelConverter should register sub-queries inside ORDER BY clause for queries without aggregation

2023-01-09 Thread GitBox
julianhyde commented on code in PR #3022: URL: https://github.com/apache/calcite/pull/3022#discussion_r1065031655 ## core/src/test/java/org/apache/calcite/test/SqlToRelConverterTest.java: ## @@ -4769,4 +4769,18 @@ void checkUserDefinedOrderByOver(NullCollation nullCollation) {

[GitHub] [calcite] julianhyde commented on a diff in pull request #3022: [CALCITE-5468] SqlToRelConverter should register sub-queries inside ORDER BY clause for queries without aggregation

2023-01-09 Thread GitBox
julianhyde commented on code in PR #3022: URL: https://github.com/apache/calcite/pull/3022#discussion_r1065030991 ## core/src/test/java/org/apache/calcite/test/SqlToRelConverterTest.java: ## @@ -4769,4 +4769,18 @@ void checkUserDefinedOrderByOver(NullCollation nullCollation) {

[GitHub] [calcite] sonarcloud[bot] commented on pull request #2919: [CALCITE-5298] CalciteSystemProperty calcite.test.dataset path check fails under Java Security Manager

2023-01-09 Thread GitBox
sonarcloud[bot] commented on PR #2919: URL: https://github.com/apache/calcite/pull/2919#issuecomment-1376049397 SonarCloud Quality Gate failed.    [![Quality Gate failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png 'Quality Gat

[GitHub] [calcite] risdenk commented on a diff in pull request #2919: [CALCITE-5298] CalciteSystemProperty calcite.test.dataset path check fails under Java Security Manager

2023-01-09 Thread GitBox
risdenk commented on code in PR #2919: URL: https://github.com/apache/calcite/pull/2919#discussion_r1064922721 ## core/src/main/java/org/apache/calcite/util/Util.java: ## @@ -1048,6 +1048,19 @@ public static String getStackTrace(Throwable t) { return sw.toString(); } +

[GitHub] [calcite] risdenk commented on a diff in pull request #2919: [CALCITE-5298] CalciteSystemProperty calcite.test.dataset path check fails under Java Security Manager

2023-01-09 Thread GitBox
risdenk commented on code in PR #2919: URL: https://github.com/apache/calcite/pull/2919#discussion_r1064920908 ## core/src/main/java/org/apache/calcite/util/Util.java: ## @@ -1048,6 +1048,19 @@ public static String getStackTrace(Throwable t) { return sw.toString(); } +

[GitHub] [calcite] zabetak closed pull request #3021: Add dead methods to test code coverage output (Only for testing purposes, please ignore)

2023-01-09 Thread GitBox
zabetak closed pull request #3021: Add dead methods to test code coverage output (Only for testing purposes, please ignore) URL: https://github.com/apache/calcite/pull/3021 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

[GitHub] [calcite] zabetak closed pull request #3019: [CALCITE-5427] Provide code quality/coverage metrics with Jacoco and Sonarcloud

2023-01-09 Thread GitBox
zabetak closed pull request #3019: [CALCITE-5427] Provide code quality/coverage metrics with Jacoco and Sonarcloud URL: https://github.com/apache/calcite/pull/3019 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL a

[calcite] branch main updated: [CALCITE-5427] Provide code quality/coverage metrics with JaCoCo and Sonarcloud

2023-01-09 Thread zabetak
This is an automated email from the ASF dual-hosted git repository. zabetak pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/calcite.git The following commit(s) were added to refs/heads/main by this push: new be7135cf1f [CALCITE-5427] Provide code quality/cov

[GitHub] [calcite-avatica] zabetak commented on a diff in pull request #204: [CALCITE-5120] Throw SQLException from UnregisteredDriver#connect if url is null

2023-01-09 Thread GitBox
zabetak commented on code in PR #204: URL: https://github.com/apache/calcite-avatica/pull/204#discussion_r1064578615 ## core/src/test/java/org/apache/calcite/avatica/UnregisteredDriverTest.java: ## @@ -0,0 +1,66 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under o

[GitHub] [calcite-avatica] zabetak commented on a diff in pull request #204: [CALCITE-5120] Throw SQLException from UnregisteredDriver#connect if url is null

2023-01-09 Thread GitBox
zabetak commented on code in PR #204: URL: https://github.com/apache/calcite-avatica/pull/204#discussion_r1064576196 ## core/src/test/java/org/apache/calcite/avatica/UnregisteredDriverTest.java: ## @@ -0,0 +1,58 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under o

[GitHub] [calcite-avatica] zoudan commented on a diff in pull request #204: [CALCITE-5120] Throw SQLException from UnregisteredDriver#connect if url is null

2023-01-09 Thread GitBox
zoudan commented on code in PR #204: URL: https://github.com/apache/calcite-avatica/pull/204#discussion_r1064550200 ## core/src/test/java/org/apache/calcite/avatica/UnregisteredDriverTest.java: ## @@ -0,0 +1,58 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under on

[GitHub] [calcite-avatica] zabetak commented on a diff in pull request #204: [CALCITE-5120] Throw SQLException from UnregisteredDriver#connect if url is null

2023-01-09 Thread GitBox
zabetak commented on code in PR #204: URL: https://github.com/apache/calcite-avatica/pull/204#discussion_r1064540782 ## core/src/test/java/org/apache/calcite/avatica/UnregisteredDriverTest.java: ## @@ -0,0 +1,58 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under o

[GitHub] [calcite-avatica] zoudan commented on a diff in pull request #204: [CALCITE-5120] Throw SQLException from UnregisteredDriver#connect if url is null

2023-01-09 Thread GitBox
zoudan commented on code in PR #204: URL: https://github.com/apache/calcite-avatica/pull/204#discussion_r1064519603 ## core/src/main/java/org/apache/calcite/avatica/UnregisteredDriver.java: ## @@ -127,6 +127,9 @@ private static RuntimeException handle(String msg, Throwable e) {

[GitHub] [calcite-avatica] zabetak commented on a diff in pull request #204: [CALCITE-5120] Throw SQLException from UnregisteredDriver#connect if url is null

2023-01-09 Thread GitBox
zabetak commented on code in PR #204: URL: https://github.com/apache/calcite-avatica/pull/204#discussion_r1064475716 ## core/src/main/java/org/apache/calcite/avatica/UnregisteredDriver.java: ## @@ -127,6 +127,9 @@ private static RuntimeException handle(String msg, Throwable e)

[GitHub] [calcite-avatica] zabetak commented on pull request #204: [CALCITE-5120] Throw SQLException from UnregisteredDriver#connect if url is null

2023-01-09 Thread GitBox
zabetak commented on PR #204: URL: https://github.com/apache/calcite-avatica/pull/204#issuecomment-1375378111 @zoudan For some reason [Automatic analysis|https://docs.sonarcloud.io/advanced-setup/automatic-analysis/] was enabled for Avatica but it was not my doing. Feel free to ignore the e

[GitHub] [calcite-avatica] zoudan commented on pull request #204: [CALCITE-5120] Throw SQLException from UnregisteredDriver#connect if url is null

2023-01-09 Thread GitBox
zoudan commented on PR #204: URL: https://github.com/apache/calcite-avatica/pull/204#issuecomment-1375310584 Hi @zabetak, sorry to bother you, but this PR get failed with sonarcloud. I have checked the error message, the error code is not from my change in this PR. Did I do something wrong?

[GitHub] [calcite-avatica] sonarcloud[bot] commented on pull request #204: [CALCITE-5120] Throw SQLException from UnregisteredDriver#connect if url is null

2023-01-09 Thread GitBox
sonarcloud[bot] commented on PR #204: URL: https://github.com/apache/calcite-avatica/pull/204#issuecomment-1375263566 SonarCloud Quality Gate failed.    [![Quality Gate failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png 'Quali