[GitHub] [calcite] sonarcloud[bot] commented on pull request #3116: [CALCITE-5583] Add unit tests to the select start with join
sonarcloud[bot] commented on PR #3116: URL: https://github.com/apache/calcite/pull/3116#issuecomment-1469248715 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=apache_calcite=3116) [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_calcite=3116=false=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3116=false=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_calcite=3116=false=BUG) [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_calcite=3116=false=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3116=false=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_calcite=3116=false=VULNERABILITY) [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3116=false=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3116=false=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3116=false=SECURITY_HOTSPOT) [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_calcite=3116=false=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3116=false=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache_calcite=3116=false=CODE_SMELL) [![No Coverage information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png 'No Coverage information')](https://sonarcloud.io/component_measures?id=apache_calcite=3116=coverage=list) No Coverage information [![No Duplication information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo-16px.png 'No Duplication information')](https://sonarcloud.io/component_measures?id=apache_calcite=3116=duplicated_lines_density=list) No Duplication information -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [calcite] sonarcloud[bot] commented on pull request #3111: [CALCITE-5574] Break MockCatalogReaderSimple#init into smaller methods
sonarcloud[bot] commented on PR #3111: URL: https://github.com/apache/calcite/pull/3111#issuecomment-1469243719 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=apache_calcite=3111) [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=BUG) [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=VULNERABILITY) [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3111=false=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3111=false=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3111=false=SECURITY_HOTSPOT) [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=CODE_SMELL) [1 Code Smell](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=CODE_SMELL) [![100.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/100-16px.png '100.0%')](https://sonarcloud.io/component_measures?id=apache_calcite=3111=new_coverage=list) [100.0% Coverage](https://sonarcloud.io/component_measures?id=apache_calcite=3111=new_coverage=list) [![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_calcite=3111=new_duplicated_lines_density=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_calcite=3111=new_duplicated_lines_density=list) -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [calcite] sonarcloud[bot] commented on pull request #3111: [CALCITE-5574] Break MockCatalogReaderSimple#init into smaller methods
sonarcloud[bot] commented on PR #3111: URL: https://github.com/apache/calcite/pull/3111#issuecomment-1469227918 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=apache_calcite=3111) [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=BUG) [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=VULNERABILITY) [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3111=false=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3111=false=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3111=false=SECURITY_HOTSPOT) [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=CODE_SMELL) [1 Code Smell](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=CODE_SMELL) [![100.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/100-16px.png '100.0%')](https://sonarcloud.io/component_measures?id=apache_calcite=3111=new_coverage=list) [100.0% Coverage](https://sonarcloud.io/component_measures?id=apache_calcite=3111=new_coverage=list) [![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_calcite=3111=new_duplicated_lines_density=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_calcite=3111=new_duplicated_lines_density=list) -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [calcite] sonarcloud[bot] commented on pull request #3111: [CALCITE-5574] Break MockCatalogReaderSimple#init into smaller methods
sonarcloud[bot] commented on PR #3111: URL: https://github.com/apache/calcite/pull/3111#issuecomment-1469209841 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=apache_calcite=3111) [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=BUG) [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=VULNERABILITY) [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3111=false=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3111=false=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3111=false=SECURITY_HOTSPOT) [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=CODE_SMELL) [1 Code Smell](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=CODE_SMELL) [![100.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/100-16px.png '100.0%')](https://sonarcloud.io/component_measures?id=apache_calcite=3111=new_coverage=list) [100.0% Coverage](https://sonarcloud.io/component_measures?id=apache_calcite=3111=new_coverage=list) [![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_calcite=3111=new_duplicated_lines_density=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_calcite=3111=new_duplicated_lines_density=list) -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [calcite] sonarcloud[bot] commented on pull request #3111: [CALCITE-5574] Break MockCatalogReaderSimple#init into smaller methods
sonarcloud[bot] commented on PR #3111: URL: https://github.com/apache/calcite/pull/3111#issuecomment-1469195929 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=apache_calcite=3111) [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=BUG) [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=VULNERABILITY) [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3111=false=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3111=false=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3111=false=SECURITY_HOTSPOT) [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=CODE_SMELL) [1 Code Smell](https://sonarcloud.io/project/issues?id=apache_calcite=3111=false=CODE_SMELL) [![100.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/100-16px.png '100.0%')](https://sonarcloud.io/component_measures?id=apache_calcite=3111=new_coverage=list) [100.0% Coverage](https://sonarcloud.io/component_measures?id=apache_calcite=3111=new_coverage=list) [![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_calcite=3111=new_duplicated_lines_density=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_calcite=3111=new_duplicated_lines_density=list) -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [calcite] zoudan commented on pull request #3106: [CALCITE-4554] Support TIMESTAMP WITH LOCAL TIME ZONE for Snapshot and MatchRecognize
zoudan commented on PR #3106: URL: https://github.com/apache/calcite/pull/3106#issuecomment-1469192207 @snuyanzin we have raised a [jira](https://issues.apache.org/jira/projects/CALCITE/issues/CALCITE-5574) to split `MockCatalogReaderSimple#init` and I have created an [PR](https://github.com/apache/calcite/pull/3111) for this. -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[calcite-avatica-go] branch main updated: [CALCITE-5586] Replace boostport/hbase-phoenix-all-in-one docker image with f21global/hbase-phoenix-all-in-one
This is an automated email from the ASF dual-hosted git repository. francischuang pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/calcite-avatica-go.git The following commit(s) were added to refs/heads/main by this push: new ed4c274 [CALCITE-5586] Replace boostport/hbase-phoenix-all-in-one docker image with f21global/hbase-phoenix-all-in-one ed4c274 is described below commit ed4c274f52a98593e6c99de0d7a88802d4a92cb6 Author: Francis Chuang AuthorDate: Wed Mar 15 11:39:39 2023 +1100 [CALCITE-5586] Replace boostport/hbase-phoenix-all-in-one docker image with f21global/hbase-phoenix-all-in-one --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b2df4ae..506e856 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,7 +16,7 @@ version: '3' services: phoenix: -image: boostport/hbase-phoenix-all-in-one:${PHOENIX_VERSION:-2.0-5.0} +image: f21global/hbase-phoenix-all-in-one:${PHOENIX_VERSION:-2.0-5.0} hsqldb: image: apache/calcite-avatica-hypersql:${HSQLDB_VERSION:-1.22.0} @@ -108,4 +108,4 @@ services: PROTOBUF_VERSION: 21.5 volumes: - .:/source - - $GOPATH/pkg/mod/cache:/go/pkg/mod/cache \ No newline at end of file + - $GOPATH/pkg/mod/cache:/go/pkg/mod/cache
[GitHub] [calcite] olivrlee commented on pull request #3093: SAFE_CAST (enabled for BigQuery)
olivrlee commented on PR #3093: URL: https://github.com/apache/calcite/pull/3093#issuecomment-1468970159 I'm still in the middle of cleaning up the PR, thanks for reviewing @zoudan Do you have any thoughts on SqlSyntax.SPECIAL? It *should* be SPECIAL, but the operator table lookup currently doesn't look for SPECIAL syntax functions, so that was just a temporary workaround. -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [calcite] sonarcloud[bot] commented on pull request #3115: Update janino from 3.1.8 to 3.1.9
sonarcloud[bot] commented on PR #3115: URL: https://github.com/apache/calcite/pull/3115#issuecomment-1468870790 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=apache_calcite=3115) [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_calcite=3115=false=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3115=false=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_calcite=3115=false=BUG) [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_calcite=3115=false=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3115=false=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_calcite=3115=false=VULNERABILITY) [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3115=false=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3115=false=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3115=false=SECURITY_HOTSPOT) [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_calcite=3115=false=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3115=false=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache_calcite=3115=false=CODE_SMELL) [![No Coverage information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png 'No Coverage information')](https://sonarcloud.io/component_measures?id=apache_calcite=3115=coverage=list) No Coverage information [![No Duplication information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo-16px.png 'No Duplication information')](https://sonarcloud.io/component_measures?id=apache_calcite=3115=duplicated_lines_density=list) No Duplication information -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [calcite] olivrlee commented on a diff in pull request #3093: SAFE_CAST (enabled for BigQuery)
olivrlee commented on code in PR #3093: URL: https://github.com/apache/calcite/pull/3093#discussion_r1136198429 ## core/src/main/java/org/apache/calcite/sql/SqlKind.java: ## @@ -639,6 +639,10 @@ public enum SqlKind { */ CAST, + /** + * The {@code SAFE_CAST} function. */ Review Comment: I'll update the comment. I did describe the function in `SqlLibraryOperators` too -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [calcite] snuyanzin opened a new pull request, #3115: Update janino from 3.1.8 to 3.1.9
snuyanzin opened a new pull request, #3115: URL: https://github.com/apache/calcite/pull/3115 3.1.9 contains fixes for https://github.com/janino-compiler/janino/issues/187 and https://github.com/janino-compiler/janino/issues/185 which we faced in Flink -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [calcite] sonarcloud[bot] commented on pull request #3114: [CALCITE-5585] Add STRPOS() Function (Enabled for BigQuery)
sonarcloud[bot] commented on PR #3114: URL: https://github.com/apache/calcite/pull/3114#issuecomment-1468677783 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=apache_calcite=3114) [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_calcite=3114=false=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3114=false=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_calcite=3114=false=BUG) [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_calcite=3114=false=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3114=false=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_calcite=3114=false=VULNERABILITY) [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3114=false=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3114=false=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3114=false=SECURITY_HOTSPOT) [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_calcite=3114=false=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3114=false=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache_calcite=3114=false=CODE_SMELL) [![100.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/100-16px.png '100.0%')](https://sonarcloud.io/component_measures?id=apache_calcite=3114=new_coverage=list) [100.0% Coverage](https://sonarcloud.io/component_measures?id=apache_calcite=3114=new_coverage=list) [![2.1%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '2.1%')](https://sonarcloud.io/component_measures?id=apache_calcite=3114=new_duplicated_lines_density=list) [2.1% Duplication](https://sonarcloud.io/component_measures?id=apache_calcite=3114=new_duplicated_lines_density=list) -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [calcite] sonarcloud[bot] commented on pull request #3113: [CALCITE-5567] Enable jdk19 in ci
sonarcloud[bot] commented on PR #3113: URL: https://github.com/apache/calcite/pull/3113#issuecomment-1468551767 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=apache_calcite=3113) [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_calcite=3113=false=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3113=false=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_calcite=3113=false=BUG) [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_calcite=3113=false=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3113=false=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_calcite=3113=false=VULNERABILITY) [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3113=false=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3113=false=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3113=false=SECURITY_HOTSPOT) [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_calcite=3113=false=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3113=false=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache_calcite=3113=false=CODE_SMELL) [![No Coverage information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png 'No Coverage information')](https://sonarcloud.io/component_measures?id=apache_calcite=3113=coverage=list) No Coverage information [![No Duplication information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo-16px.png 'No Duplication information')](https://sonarcloud.io/component_measures?id=apache_calcite=3113=duplicated_lines_density=list) No Duplication information -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [calcite] tanclary opened a new pull request, #3114: [CALCITE-5585] Add STRPOS() Function (Enabled for BigQuery)
tanclary opened a new pull request, #3114: URL: https://github.com/apache/calcite/pull/3114 BigQuery supports the `STRPOS()` function with accepts 2 `STRINGS` as arguments. The function returns the 1-based position of the first occurrence of the second string within the first (example below). If no occurrence is found, the function returns 0. The function also supports ByteStrings with the same behavior. EXAMPLE: `STRPOS("abc", "bc")` would return: `2`. EXAMPLE: `STRPOS("abc", "d")` would return: `0`. [BigQuery docs](https://cloud.google.com/bigquery/docs/reference/standard-sql/string_functions#strpos) [JIRA Case](https://issues.apache.org/jira/browse/CALCITE-5585) -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [calcite] sonarcloud[bot] commented on pull request #3112: Site: Troubleshooting/Website publishing improvements in release guide
sonarcloud[bot] commented on PR #3112: URL: https://github.com/apache/calcite/pull/3112#issuecomment-1468458381 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=apache_calcite=3112) [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_calcite=3112=false=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3112=false=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_calcite=3112=false=BUG) [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_calcite=3112=false=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3112=false=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_calcite=3112=false=VULNERABILITY) [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3112=false=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3112=false=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3112=false=SECURITY_HOTSPOT) [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_calcite=3112=false=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3112=false=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache_calcite=3112=false=CODE_SMELL) [![No Coverage information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png 'No Coverage information')](https://sonarcloud.io/component_measures?id=apache_calcite=3112=coverage=list) No Coverage information [![No Duplication information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo-16px.png 'No Duplication information')](https://sonarcloud.io/component_measures?id=apache_calcite=3112=duplicated_lines_density=list) No Duplication information -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [calcite] snuyanzin opened a new pull request, #3113: [CALCITE-5567] Enable jdk19 in ci
snuyanzin opened a new pull request, #3113: URL: https://github.com/apache/calcite/pull/3113 Enable jdk19 in ci. `-Pwerror=false` since in jdk19 constructors for `Locale` are deprecated -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [calcite] snuyanzin commented on pull request #3112: Site: Troubleshooting/Website publishing improvements in release guide
snuyanzin commented on PR #3112: URL: https://github.com/apache/calcite/pull/3112#issuecomment-1468396616 in general looks ok from my side i left a minor suggestion -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [calcite] snuyanzin commented on a diff in pull request #3112: Site: Troubleshooting/Website publishing improvements in release guide
snuyanzin commented on code in PR #3112: URL: https://github.com/apache/calcite/pull/3112#discussion_r1135803830 ## site/_docs/howto.md: ## @@ -947,6 +949,11 @@ Remember that UTC date changes at 4 pm Pacific time. ./gradlew publishDist -Prc=0 -Pasf -Pasf.git.pushRepositoryProvider=GITBOX {% endhighlight %} +If for whatever reason the `publishDist` task fails +(e.g. [failed to release nexus repository](https://github.com/vlsi/vlsi-release-plugins/issues/64), +it is still possible to perform the publishing tasks manually. Ask for help in the dev list if +you are not sure what needs to done. Review Comment: ```suggestion you are not sure what needs to be done. ``` -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[calcite-site] branch main updated: Website deployed from calcite@052a5cc724a889edf19c1d76ea166c0d0924a5d3
This is an automated email from the ASF dual-hosted git repository. asf-ci-deploy pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/calcite-site.git The following commit(s) were added to refs/heads/main by this push: new 309940191 Website deployed from calcite@052a5cc724a889edf19c1d76ea166c0d0924a5d3 309940191 is described below commit 30994019128ab0835518fc87da929ffb2fb739f7 Author: snuyanzin AuthorDate: Tue Mar 14 16:08:50 2023 + Website deployed from calcite@052a5cc724a889edf19c1d76ea166c0d0924a5d3 --- docs/howto.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/howto.html b/docs/howto.html index 7c6b2359a..b8c38a4d3 100644 --- a/docs/howto.html +++ b/docs/howto.html @@ -224,6 +224,8 @@ contains info about deprecations and how to cope with them. Gradle. If necessary it will also upgrade the Gradle Wrapper. This step also updates gradle/wrapper/gradle-wrapper.properties, including the checksum. + Check and update Kotlin version in gradle.properties if required. +Check should be done against https://docs.gradle.org/current/userguide/compatibility.html#kotlin;>Kotlin compatibility matrix. Step 3 will have removed the header from gradle/wrapper/gradle-wrapper.properties, so now run ./gradlew autostyleApply to add it back.
[calcite] branch main updated: [CALCITE-5440] Bump gradle from 7.4.2 to 7.6.1
This is an automated email from the ASF dual-hosted git repository. snuyanzin 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 052a5cc724 [CALCITE-5440] Bump gradle from 7.4.2 to 7.6.1 052a5cc724 is described below commit 052a5cc724a889edf19c1d76ea166c0d0924a5d3 Author: Sergey Nuyanzin AuthorDate: Tue Nov 29 09:42:55 2022 +0100 [CALCITE-5440] Bump gradle from 7.4.2 to 7.6.1 --- build.gradle.kts | 1 + buildSrc/build.gradle.kts| 2 -- gradle.properties| 2 +- gradle/wrapper/gradle-wrapper.jar| Bin 59536 -> 61574 bytes gradle/wrapper/gradle-wrapper.properties | 5 +++-- gradlew | 18 ++ gradlew.bat | 15 +-- site/_docs/howto.md | 10 ++ 8 files changed, 34 insertions(+), 19 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 8e27adba2d..b4bb44ca02 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -188,6 +188,7 @@ val javadocAggregate by tasks.registering(Javadoc::class) { val sourceSets = subprojects .mapNotNull { it.extensions.findByType() } +.filter { it.names.contains("main") } .map { it.named("main") } classpath = files(sourceSets.map { set -> set.map { it.output + it.compileClasspath } }) diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 4546221433..06f486a9fc 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -53,8 +53,6 @@ fun Project.applyKotlinProjectConventions() { } tasks.withType { -sourceCompatibility = "unused" -targetCompatibility = "unused" kotlinOptions { jvmTarget = "1.8" } diff --git a/gradle.properties b/gradle.properties index 66ca35ba68..08f73d27a6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -52,7 +52,7 @@ com.github.vlsi.vlsi-release-plugins.version=1.84 com.google.protobuf.version=0.8.10 de.thetaphi.forbiddenapis.version=3.4 jacoco.version=0.8.8 -kotlin.version=1.5.31 +kotlin.version=1.7.10 net.ltgt.errorprone.version=1.3.0 me.champeau.gradle.jmh.version=0.5.3 org.jetbrains.gradle.plugin.idea-ext.version=0.5 diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index 7454180f2a..943f0cbfa7 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 09fdba8d64..49b350a3a5 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -16,7 +16,8 @@ # distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip +networkTimeout=1 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionSha256Sum=29e49b10984e585d8118b7d0bc452f944e386458df27371b49b4ac1dec4b7fda +distributionSha256Sum=6147605a23b4eff6c334927a86ff3508cb5d6722cd624c97ded4c2e8640f1f87 diff --git a/gradlew b/gradlew index 1b6c787337..65dcd68d65 100755 --- a/gradlew +++ b/gradlew @@ -55,7 +55,7 @@ # Darwin, MinGW, and NonStop. # # (3) This script is generated from the Groovy template -# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt # within the Gradle project. # # You can find Gradle at https://github.com/gradle/gradle/. @@ -80,10 +80,10 @@ do esac done -APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit - -APP_NAME="Gradle" +# This is normally unused +# shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} +APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' @@ -143,12 +143,16 @@ fi if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then case $MAX_FD in #( max*) +# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. +# shellcheck disable=SC3045 MAX_FD=$( ulimit -H -n ) || warn "Could not query maximum file descriptor limit" esac case $MAX_FD in #( '' | soft) :;; #( *) +# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. +# shellcheck disable=SC3045 ulimit -n "$MAX_FD" || warn "Could not set maximum
[calcite] branch site updated: [CALCITE-5440] Bump gradle from 7.4.2 to 7.6.1
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch site in repository https://gitbox.apache.org/repos/asf/calcite.git The following commit(s) were added to refs/heads/site by this push: new 7883cbd2e4 [CALCITE-5440] Bump gradle from 7.4.2 to 7.6.1 7883cbd2e4 is described below commit 7883cbd2e4bfac46aa4f64b16a7ffbf0b6310dc0 Author: Sergey Nuyanzin AuthorDate: Tue Nov 29 09:42:55 2022 +0100 [CALCITE-5440] Bump gradle from 7.4.2 to 7.6.1 --- build.gradle.kts | 1 + buildSrc/build.gradle.kts| 2 -- gradle.properties| 2 +- gradle/wrapper/gradle-wrapper.jar| Bin 59536 -> 61574 bytes gradle/wrapper/gradle-wrapper.properties | 5 +++-- gradlew | 18 ++ gradlew.bat | 15 +-- site/_docs/howto.md | 10 ++ 8 files changed, 34 insertions(+), 19 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 8e27adba2d..b4bb44ca02 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -188,6 +188,7 @@ val javadocAggregate by tasks.registering(Javadoc::class) { val sourceSets = subprojects .mapNotNull { it.extensions.findByType() } +.filter { it.names.contains("main") } .map { it.named("main") } classpath = files(sourceSets.map { set -> set.map { it.output + it.compileClasspath } }) diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 4546221433..06f486a9fc 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -53,8 +53,6 @@ fun Project.applyKotlinProjectConventions() { } tasks.withType { -sourceCompatibility = "unused" -targetCompatibility = "unused" kotlinOptions { jvmTarget = "1.8" } diff --git a/gradle.properties b/gradle.properties index 66ca35ba68..08f73d27a6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -52,7 +52,7 @@ com.github.vlsi.vlsi-release-plugins.version=1.84 com.google.protobuf.version=0.8.10 de.thetaphi.forbiddenapis.version=3.4 jacoco.version=0.8.8 -kotlin.version=1.5.31 +kotlin.version=1.7.10 net.ltgt.errorprone.version=1.3.0 me.champeau.gradle.jmh.version=0.5.3 org.jetbrains.gradle.plugin.idea-ext.version=0.5 diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index 7454180f2a..943f0cbfa7 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 09fdba8d64..49b350a3a5 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -16,7 +16,8 @@ # distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip +networkTimeout=1 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionSha256Sum=29e49b10984e585d8118b7d0bc452f944e386458df27371b49b4ac1dec4b7fda +distributionSha256Sum=6147605a23b4eff6c334927a86ff3508cb5d6722cd624c97ded4c2e8640f1f87 diff --git a/gradlew b/gradlew index 1b6c787337..65dcd68d65 100755 --- a/gradlew +++ b/gradlew @@ -55,7 +55,7 @@ # Darwin, MinGW, and NonStop. # # (3) This script is generated from the Groovy template -# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt # within the Gradle project. # # You can find Gradle at https://github.com/gradle/gradle/. @@ -80,10 +80,10 @@ do esac done -APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit - -APP_NAME="Gradle" +# This is normally unused +# shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} +APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' @@ -143,12 +143,16 @@ fi if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then case $MAX_FD in #( max*) +# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. +# shellcheck disable=SC3045 MAX_FD=$( ulimit -H -n ) || warn "Could not query maximum file descriptor limit" esac case $MAX_FD in #( '' | soft) :;; #( *) +# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. +# shellcheck disable=SC3045 ulimit -n "$MAX_FD" || warn "Could not set maximum
[GitHub] [calcite] snuyanzin merged pull request #3007: [CALCITE-5440] Bump gradle from 7.4.2 to 7.6.1
snuyanzin merged PR #3007: URL: https://github.com/apache/calcite/pull/3007 -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [calcite] sonarcloud[bot] commented on pull request #3007: [CALCITE-5440] Bump gradle from 7.4.2 to 7.6.1
sonarcloud[bot] commented on PR #3007: URL: https://github.com/apache/calcite/pull/3007#issuecomment-1468383365 Kudos, SonarCloud Quality Gate passed! [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=apache_calcite=3007) [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_calcite=3007=false=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3007=false=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_calcite=3007=false=BUG) [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_calcite=3007=false=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3007=false=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_calcite=3007=false=VULNERABILITY) [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3007=false=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3007=false=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_calcite=3007=false=SECURITY_HOTSPOT) [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_calcite=3007=false=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_calcite=3007=false=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache_calcite=3007=false=CODE_SMELL) [![No Coverage information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png 'No Coverage information')](https://sonarcloud.io/component_measures?id=apache_calcite=3007=coverage=list) No Coverage information [![No Duplication information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo-16px.png 'No Duplication information')](https://sonarcloud.io/component_measures?id=apache_calcite=3007=duplicated_lines_density=list) No Duplication information -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [calcite] zabetak closed pull request #3103: [CALCITE-5572] Release Calcite 1.34.0
zabetak closed pull request #3103: [CALCITE-5572] Release Calcite 1.34.0 URL: https://github.com/apache/calcite/pull/3103 -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [calcite-avatica] snuyanzin opened a new pull request, #213: [CALCITE-5567] Update mockito from 4.4.0 to 4.11.0 and enable jdk19
snuyanzin opened a new pull request, #213: URL: https://github.com/apache/calcite-avatica/pull/213 The PR makes it build with jdk19 instead of jdk18 It also bumps mockito since mockito 4.4.0 depends on byte buddy which is not compatible with jdk19 -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[calcite-site] branch main updated: Website deployed MANUALLY from calcite@421c871e5f9f3ea7c660bea48f2099d0cd41ffcf
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-site.git The following commit(s) were added to refs/heads/main by this push: new 3997c7145 Website deployed MANUALLY from calcite@421c871e5f9f3ea7c660bea48f2099d0cd41ffcf 3997c7145 is described below commit 3997c714582c97bf22f98e3f7b902c70e0c28e07 Author: Stamatis Zampetakis AuthorDate: Tue Mar 14 15:39:12 2023 +0100 Website deployed MANUALLY from calcite@421c871e5f9f3ea7c660bea48f2099d0cd41ffcf --- docs/history.html | 2 +- downloads/index.html | 11 +++- .../2014/08/19/release-0.9.0-incubating/index.html | 11 ++-- .../2014/10/02/release-0.9.1-incubating/index.html | 11 ++-- .../2014/11/05/release-0.9.2-incubating/index.html | 11 ++-- .../2015/01/31/release-1.0.0-incubating/index.html | 11 ++-- .../2015/03/13/release-1.1.0-incubating/index.html | 11 ++-- .../2015/04/07/release-1.2.0-incubating/index.html | 11 ++-- news/2015/04/24/new-committers/index.html | 11 ++-- .../2015/05/30/release-1.3.0-incubating/index.html | 11 ++-- news/2015/06/05/algebra-builder/index.html | 11 ++-- .../2015/07/31/xldb-best-lightning-talk/index.html | 11 ++-- .../2015/09/02/release-1.4.0-incubating/index.html | 11 ++-- news/2015/10/22/calcite-graduates/index.html | 11 ++-- news/2015/11/08/new-committers/index.html | 11 ++-- news/2015/11/10/release-1.5.0/index.html | 11 ++-- news/2016/01/22/release-1.6.0/index.html | 11 ++-- news/2016/02/17/elser-pmc/index.html | 11 ++-- news/2016/02/17/streaming-sql-talk/index.html | 11 ++-- news/2016/03/22/cassandra-adapter/index.html | 11 ++-- news/2016/03/22/release-1.7.0/index.html | 11 ++-- news/2016/06/13/release-1.8.0/index.html | 11 ++-- news/2016/09/22/release-1.9.0/index.html | 11 ++-- news/2016/10/12/release-1.10.0/index.html | 11 ++-- news/2017/01/09/release-1.11.0/index.html | 11 ++-- news/2017/03/24/release-1.12.0/index.html | 11 ++-- news/2017/03/31/new-avatica-repository/index.html | 11 ++-- news/2017/06/26/release-1.13.0/index.html | 11 ++-- news/2017/10/02/release-1.14.0/index.html | 11 ++-- news/2017/12/11/release-1.15.0/index.html | 11 ++-- news/2018/03/19/release-1.16.0/index.html | 11 ++-- news/2018/07/20/release-1.17.0/index.html | 11 ++-- news/2018/12/21/release-1.18.0/index.html | 11 ++-- news/2019/03/25/release-1.19.0/index.html | 11 ++-- news/2019/06/24/release-1.20.0/index.html | 11 ++-- news/2019/09/11/release-1.21.0/index.html | 11 ++-- news/2020/03/05/release-1.22.0/index.html | 11 ++-- news/2020/05/23/release-1.23.0/index.html | 11 ++-- news/2020/07/23/release-1.24.0/index.html | 11 ++-- news/2020/08/22/release-1.25.0/index.html | 11 ++-- news/2020/10/06/release-1.26.0/index.html | 11 ++-- news/2021/01/11/meetup/index.html | 11 ++-- news/2021/06/03/release-1.27.0/index.html | 11 ++-- news/2021/10/19/release-1.28.0/index.html | 11 ++-- news/2021/12/25/release-1.29.0/index.html | 11 ++-- news/2022/03/19/release-1.30.0/index.html | 11 ++-- news/2022/08/02/release-1.31.0/index.html | 11 ++-- news/2022/09/10/release-1.32.0/index.html | 11 ++-- news/2023/02/07/release_1.33.0/index.html | 11 ++-- .../03/14/release-1.34.0}/index.html | 47 news/index.html| 63 -- news/releases/index.html | 63 -- 52 files changed, 429 insertions(+), 274 deletions(-) diff --git a/docs/history.html b/docs/history.html index 415d731bf..627cc54cb 100644 --- a/docs/history.html +++ b/docs/history.html @@ -120,7 +120,7 @@ other software versions as specified in gradle.properties. --> -https://github.com/apache/calcite/releases/tag/calcite-1.34.0;>1.34.0 / 2023-03-XX +https://github.com/apache/calcite/releases/tag/calcite-1.34.0;>1.34.0 / 2023-03-14 This release comes 1 month after 1.33.0, contains contributions from 18 contributors, and resolves 34 issues. It’s worth highlighting the diff --git a/downloads/index.html b/downloads/index.html index d09d1f0fc..0be3f60ec 100644 --- a/downloads/index.html +++ b/downloads/index.html @@ -74,12 +74,19 @@ + + 1.34.0 + 14 Mar 2023 + https://github.com/apache/calcite/commit/7dfd641baeb0e1b26dec04da5241c3999fe0ac6a;>7dfd641 + +https://www.apache.org/dyn/closer.lua?filename=calcite/apache-calcite-1.34.0/apache-calcite-1.34.0-src.tar.gzaction=download;>tar
[calcite] branch site updated (44479d624d -> 421c871e5f)
This is an automated email from the ASF dual-hosted git repository. zabetak pushed a change to branch site in repository https://gitbox.apache.org/repos/asf/calcite.git discard 44479d624d Prepare for next development iteration add de305074f4 [CALCITE-5572] Add news item and update date for 1.34.0 release add 421c871e5f Prepare for next development iteration This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (44479d624d) \ N -- N -- N refs/heads/site (421c871e5f) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: site/_docs/history.md| 2 +- site/_posts/2023-03-14-release-1.34.0.md | 40 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 site/_posts/2023-03-14-release-1.34.0.md
[calcite] branch main updated: [CALCITE-5553] `RelStructuredTypeFlattener` produces bad plan for single field struct
This is an automated email from the ASF dual-hosted git repository. libenchao 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 5ee1b1ba2c [CALCITE-5553] `RelStructuredTypeFlattener` produces bad plan for single field struct 5ee1b1ba2c is described below commit 5ee1b1ba2c9bd347f098bca758fd3032541db5e9 Author: Andrew Pilloud AuthorDate: Mon Mar 6 13:31:36 2023 -0800 [CALCITE-5553] `RelStructuredTypeFlattener` produces bad plan for single field struct Close apache/calcite#3092 --- .../sql2rel/RelStructuredTypeFlattener.java| 15 -- .../apache/calcite/sql/test/SqlAdvisorTest.java| 1 + .../apache/calcite/test/SqlToRelConverterTest.java | 6 ++ .../apache/calcite/test/SqlToRelConverterTest.xml | 14 + .../org/apache/calcite/test/catalog/Fixture.java | 3 +++ .../test/catalog/MockCatalogReaderSimple.java | 23 +++--- 6 files changed, 48 insertions(+), 14 deletions(-) diff --git a/core/src/main/java/org/apache/calcite/sql2rel/RelStructuredTypeFlattener.java b/core/src/main/java/org/apache/calcite/sql2rel/RelStructuredTypeFlattener.java index 3c3ec316ba..1d0570eb7a 100644 --- a/core/src/main/java/org/apache/calcite/sql2rel/RelStructuredTypeFlattener.java +++ b/core/src/main/java/org/apache/calcite/sql2rel/RelStructuredTypeFlattener.java @@ -337,8 +337,19 @@ public class RelStructuredTypeFlattener implements ReflectiveVisitor { for (RelNode input : inputs) { fieldCnt += input.getRowType().getFieldCount(); if (fieldCnt > fieldIdx) { -return getNewForOldRel(input).getRowType().getFieldList().size() -== input.getRowType().getFieldList().size(); +List newTypeFields = getNewForOldRel(input).getRowType().getFieldList(); +List inputTypeFields = input.getRowType().getFieldList(); +if (newTypeFields.size() != inputTypeFields.size()) { + return false; +} +// Ensure single field nested structs aren't flattened +for (int i = 0; i < newTypeFields.size(); ++i) { + if (newTypeFields.get(i).getType().isStruct() + != inputTypeFields.get(i).getType().isStruct()) { +return false; + } +} +return true; } } return false; diff --git a/core/src/test/java/org/apache/calcite/sql/test/SqlAdvisorTest.java b/core/src/test/java/org/apache/calcite/sql/test/SqlAdvisorTest.java index 7a2cd77358..e9443a0626 100644 --- a/core/src/test/java/org/apache/calcite/sql/test/SqlAdvisorTest.java +++ b/core/src/test/java/org/apache/calcite/sql/test/SqlAdvisorTest.java @@ -90,6 +90,7 @@ class SqlAdvisorTest extends SqlValidatorTestCase { "TABLE(CATALOG.SALES.EMPTY_PRODUCTS)", "TABLE(CATALOG.SALES.EMP_ADDRESS)", "TABLE(CATALOG.SALES.DEPT)", + "TABLE(CATALOG.SALES.DEPT_SINGLE)", "TABLE(CATALOG.SALES.DEPT_NESTED)", "TABLE(CATALOG.SALES.DEPT_NESTED_EXPANDED)", "TABLE(CATALOG.SALES.BONUS)", diff --git a/core/src/test/java/org/apache/calcite/test/SqlToRelConverterTest.java b/core/src/test/java/org/apache/calcite/test/SqlToRelConverterTest.java index 60215c3e06..7541d68e27 100644 --- a/core/src/test/java/org/apache/calcite/test/SqlToRelConverterTest.java +++ b/core/src/test/java/org/apache/calcite/test/SqlToRelConverterTest.java @@ -3715,6 +3715,12 @@ class SqlToRelConverterTest extends SqlToRelTestBase { sql(sql).ok(); } + @Test void testNestedStructSingleFieldAccessWhere() { +final String sql = "select dn.skill\n" ++ "from sales.dept_single dn WHERE dn.skill.type = ''"; +sql(sql).ok(); + } + @Test void testFunctionWithStructInput() { final String sql = "select json_type(skill)\n" + "from sales.dept_nested"; diff --git a/core/src/test/resources/org/apache/calcite/test/SqlToRelConverterTest.xml b/core/src/test/resources/org/apache/calcite/test/SqlToRelConverterTest.xml index 1636bc7c17..25c1a3c302 100644 --- a/core/src/test/resources/org/apache/calcite/test/SqlToRelConverterTest.xml +++ b/core/src/test/resources/org/apache/calcite/test/SqlToRelConverterTest.xml @@ -4776,6 +4776,20 @@ from sales.dept_nested dn]]> + + + + + + + + diff --git a/testkit/src/main/java/org/apache/calcite/test/catalog/Fixture.java b/testkit/src/main/java/org/apache/calcite/test/catalog/Fixture.java index 8a527b4b84..f1e97dc469 100644 --- a/testkit/src/main/java/org/apache/calcite/test/catalog/Fixture.java +++ b/testkit/src/main/java/org/apache/calcite/test/catalog/Fixture.java @@ -68,6 +68,9 @@ final class Fixture extends AbstractFixture { .build()) .kind(StructKind.PEEK_FIELDS_NO_EXPAND) .build(); + final RelDataType singleRecordType = typeFactory.builder() + .add("TYPE", varchar10Type) +
[GitHub] [calcite] libenchao closed pull request #3092: [CALCITE-5553] noFlatteningForInput handles single field structs
libenchao closed pull request #3092: [CALCITE-5553] noFlatteningForInput handles single field structs URL: https://github.com/apache/calcite/pull/3092 -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[calcite] branch main updated: [CALCITE-5577] Map value constructor is unparsed incorrectly for `SparkSqlDialect`
This is an automated email from the ASF dual-hosted git repository. libenchao 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 298a94a09a [CALCITE-5577] Map value constructor is unparsed incorrectly for `SparkSqlDialect` 298a94a09a is described below commit 298a94a09a7d15bbda429b19cb9d5a7e27f951ea Author: Guillaume Massé AuthorDate: Mon Mar 13 13:18:46 2023 -0400 [CALCITE-5577] Map value constructor is unparsed incorrectly for `SparkSqlDialect` Close apache/calcite#3108 --- .../java/org/apache/calcite/sql/dialect/SparkSqlDialect.java | 8 +++- .../org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java | 10 ++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/org/apache/calcite/sql/dialect/SparkSqlDialect.java b/core/src/main/java/org/apache/calcite/sql/dialect/SparkSqlDialect.java index afb6579a40..3a7b628ce1 100644 --- a/core/src/main/java/org/apache/calcite/sql/dialect/SparkSqlDialect.java +++ b/core/src/main/java/org/apache/calcite/sql/dialect/SparkSqlDialect.java @@ -24,6 +24,7 @@ import org.apache.calcite.sql.SqlCall; import org.apache.calcite.sql.SqlDialect; import org.apache.calcite.sql.SqlFunction; import org.apache.calcite.sql.SqlFunctionCategory; +import org.apache.calcite.sql.SqlKind; import org.apache.calcite.sql.SqlLiteral; import org.apache.calcite.sql.SqlNode; import org.apache.calcite.sql.SqlUtil; @@ -98,7 +99,12 @@ public class SparkSqlDialect extends SqlDialect { } else { switch (call.getKind()) { case ARRAY_VALUE_CONSTRUCTOR: -writer.keyword("array"); + case MAP_VALUE_CONSTRUCTOR: +final String keyword = +call.getKind() == SqlKind.ARRAY_VALUE_CONSTRUCTOR ? "array" : "map"; + +writer.keyword(keyword); + final SqlWriter.Frame frame = writer.startList("(", ")"); for (SqlNode operand : call.getOperandList()) { writer.sep(","); diff --git a/core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java b/core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java index e373c073a6..cb41c225d2 100644 --- a/core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java +++ b/core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java @@ -3684,6 +3684,16 @@ class RelToSqlConverterTest { sql(query).withSpark().ok(expected); } + /** Test case for + * https://issues.apache.org/jira/browse/CALCITE-5577;>[CALCITE-5577] + * Map value constructor is unparsed incorrectly for SparkSqlDialect.*/ + @Test void testMapValueConstructorSpark() { +final String query = "SELECT MAP['k1', 'v1', 'k2', 'v2']"; +final String expected = "SELECT MAP ('k1', 'v1', 'k2', 'v2')\n" ++ "FROM (VALUES (0)) t (ZERO)"; +sql(query).withSpark().ok(expected); + } + /** Test case for * https://issues.apache.org/jira/browse/CALCITE-4674;>[CALCITE-4674] * Excess quotes in generated SQL when STAR is a column alias. */
[GitHub] [calcite] libenchao closed pull request #3108: [CALCITE-5577] Map value constructor is unparsed incorrectly for SparkSqlDialect
libenchao closed pull request #3108: [CALCITE-5577] Map value constructor is unparsed incorrectly for SparkSqlDialect URL: https://github.com/apache/calcite/pull/3108 -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[calcite-avatica] branch main updated: [CALCITE-5440][avatica] Bump gradle from 7.4.2 to 7.6.1
This is an automated email from the ASF dual-hosted git repository. snuyanzin pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git The following commit(s) were added to refs/heads/main by this push: new d49794a52 [CALCITE-5440][avatica] Bump gradle from 7.4.2 to 7.6.1 d49794a52 is described below commit d49794a52a59b571049315706be7cb55bda75476 Author: Sergey Nuyanzin AuthorDate: Sun Mar 12 19:30:11 2023 +0100 [CALCITE-5440][avatica] Bump gradle from 7.4.2 to 7.6.1 --- gradle/wrapper/gradle-wrapper.jar| Bin 59203 -> 61574 bytes gradle/wrapper/gradle-wrapper.properties | 5 +- gradlew | 269 +++ gradlew.bat | 15 +- 4 files changed, 176 insertions(+), 113 deletions(-) diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index e708b1c02..943f0cbfa 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 0d65eb537..43f6ab650 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -16,7 +16,8 @@ # distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionSha256Sum=29e49b10984e585d8118b7d0bc452f944e386458df27371b49b4ac1dec4b7fda -distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip +distributionSha256Sum=6147605a23b4eff6c334927a86ff3508cb5d6722cd624c97ded4c2e8640f1f87 +distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip +networkTimeout=1 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew index 4f906e0c8..65dcd68d6 100755 --- a/gradlew +++ b/gradlew @@ -1,7 +1,7 @@ -#!/usr/bin/env sh +#!/bin/sh # -# Copyright 2015 the original author or authors. +# Copyright © 2015-2021 the original authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -17,67 +17,101 @@ # ## -## -## Gradle start up script for UN*X -## +# +# Gradle start up script for POSIX generated by Gradle. +# +# Important for running: +# +# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is +# noncompliant, but you have some other compliant shell such as ksh or +# bash, then to run this script, type that shell name before the whole +# command line, like: +# +# ksh Gradle +# +# Busybox and similar reduced shells will NOT work, because this script +# requires all of these POSIX shell features: +# * functions; +# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», +# «${var#prefix}», «${var%suffix}», and «$( cmd )»; +# * compound commands having a testable exit status, especially «case»; +# * various built-in commands including «command», «set», and «ulimit». +# +# Important for patching: +# +# (2) This script targets any POSIX shell, so it avoids extensions provided +# by Bash, Ksh, etc; in particular arrays are avoided. +# +# The "traditional" practice of packing multiple parameters into a +# space-separated string is a well documented source of bugs and security +# problems, so this is (mostly) avoided, by progressively accumulating +# options in "$@", and eventually passing that to Java. +# +# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, +# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; +# see the in-line comments for details. +# +# There are tweaks for specific operating systems such as AIX, CygWin, +# Darwin, MinGW, and NonStop. +# +# (3) This script is generated from the Groovy template +# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# within the Gradle project. +# +# You can find Gradle at https://github.com/gradle/gradle/. +# ## # Attempt to set APP_HOME + # Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do -ls=`ls -ld "$PRG"` -link=`expr "$ls" : '.*-> \(.*\)$'` -if expr "$link" : '/.*' > /dev/null; then -PRG="$link" -else -PRG=`dirname "$PRG"`"/$link" -fi +app_path=$0 + +# Need this for daisy-chained symlinks. +while +APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path +[ -h "$app_path" ] +do +ls=$( ls -ld "$app_path" ) +link=${ls#*' -> '} +case $link in #( + /*) app_path=$link ;;
[GitHub] [calcite-avatica] snuyanzin merged pull request #212: [CALCITE-5440][avatica] Bump gradle from 7.4.2 to 7.6.1
snuyanzin merged PR #212: URL: https://github.com/apache/calcite-avatica/pull/212 -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[calcite] branch site updated: Prepare for next development iteration
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch site in repository https://gitbox.apache.org/repos/asf/calcite.git The following commit(s) were added to refs/heads/site by this push: new 44479d624d Prepare for next development iteration 44479d624d is described below commit 44479d624df89f4f028d1a17685ad4966e756be6 Author: Stamatis Zampetakis AuthorDate: Tue Mar 14 14:48:27 2023 +0100 Prepare for next development iteration --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 516dff1c73..66ca35ba68 100644 --- a/gradle.properties +++ b/gradle.properties @@ -27,7 +27,7 @@ systemProp.org.gradle.internal.publish.checksums.insecure=true # This is version for Calcite itself # Note: it should not include "-SNAPSHOT" as it is automatically added by build.gradle.kts # Release version can be generated by using -Prelease or -Prc= arguments -calcite.version=1.34.0 +calcite.version=1.35.0 # This is a version to be used from Maven repository. It can be overridden by localAvatica below calcite.avatica.version=1.23.0
[calcite] 01/02: [CALCITE-5572] Add news item and update date for 1.34.0 release
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 commit de305074f4dad5f157abb149319d1664fa2fe68d Author: Stamatis Zampetakis AuthorDate: Tue Mar 14 14:45:35 2023 +0100 [CALCITE-5572] Add news item and update date for 1.34.0 release --- site/_docs/history.md| 2 +- site/_posts/2023-03-14-release-1.34.0.md | 40 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/site/_docs/history.md b/site/_docs/history.md index b83ed62128..d82167ca02 100644 --- a/site/_docs/history.md +++ b/site/_docs/history.md @@ -64,7 +64,7 @@ other software versions as specified in gradle.properties. {: #site-1-35-0} --> -## https://github.com/apache/calcite/releases/tag/calcite-1.34.0;>1.34.0 / 2023-03-XX +## https://github.com/apache/calcite/releases/tag/calcite-1.34.0;>1.34.0 / 2023-03-14 {: #v1-34-0} This release comes 1 month after [1.33.0](#v1-33-0), diff --git a/site/_posts/2023-03-14-release-1.34.0.md b/site/_posts/2023-03-14-release-1.34.0.md new file mode 100644 index 00..62237d70e8 --- /dev/null +++ b/site/_posts/2023-03-14-release-1.34.0.md @@ -0,0 +1,40 @@ +--- +layout: news_item +date: "2023-03-14 12:00:00 +" +author: zabetak +version: 1.34.0 +categories: [release] +tag: v1-34-0 +sha: 7dfd641baeb0e1b26dec04da5241c3999fe0ac6a +--- + + +The [Apache Calcite PMC]({{ site.baseurl }}) is pleased to announce +[Apache Calcite release 1.34.0]({{ site.baseurl }}/docs/history.html#v1-34-0). + +This release comes 1 month after [1.33.0](#v1-33-0), +contains contributions from 18 contributors, and resolves 34 issues. + +It's worth highlighting the introduction of QUALIFY clause ([https://issues.apache.org/jira/browse/CALCITE-5268;>CALCITE-5268]), +which facilitates filtering the results of window functions. Among other improvements and fixes, it +adds roughly 15 new functions in BigQuery library for handling dates, times, and timestamps, and +provides a fix ([https://issues.apache.org/jira/browse/CALCITE-5522;>CALCITE-5522]) +for a small breaking change in `DATE_TRUNC` function ([https://issues.apache.org/jira/browse/CALCITE-5447;>CALCITE-5447]), which was +introduced accidentally in [1.33.0](#v1-33-0).
[calcite] branch main updated (7dfd641bae -> 421c871e5f)
This is an automated email from the ASF dual-hosted git repository. zabetak pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/calcite.git from 7dfd641bae [CALCITE-5572] Release Calcite 1.34.0 new de305074f4 [CALCITE-5572] Add news item and update date for 1.34.0 release new 421c871e5f Prepare for next development iteration The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: gradle.properties| 2 +- site/_docs/history.md| 2 +- site/_posts/2023-03-14-release-1.34.0.md | 40 3 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 site/_posts/2023-03-14-release-1.34.0.md
[calcite] 02/02: Prepare for next development iteration
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 commit 421c871e5f9f3ea7c660bea48f2099d0cd41ffcf Author: Stamatis Zampetakis AuthorDate: Tue Mar 14 14:48:27 2023 +0100 Prepare for next development iteration --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 516dff1c73..66ca35ba68 100644 --- a/gradle.properties +++ b/gradle.properties @@ -27,7 +27,7 @@ systemProp.org.gradle.internal.publish.checksums.insecure=true # This is version for Calcite itself # Note: it should not include "-SNAPSHOT" as it is automatically added by build.gradle.kts # Release version can be generated by using -Prelease or -Prc= arguments -calcite.version=1.34.0 +calcite.version=1.35.0 # This is a version to be used from Maven repository. It can be overridden by localAvatica below calcite.avatica.version=1.23.0
[calcite] branch site updated (dc487b1388 -> 7dfd641bae)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch site in repository https://gitbox.apache.org/repos/asf/calcite.git discard dc487b1388 [CALCITE-5572] Release Calcite 1.34.0 discard aa37e14daa [CALCITE-] Remove obsolete instructions for processing requests for new JIRA accounts discard b798154ddc [CALCITE-5550] Update instructions for requesting Jira account to use self-serve facility add 3dae2519f8 [CALCITE-5537] Slow test case failures in LatticeSuggesterTest add 29fcbf14f1 [CALCITE-5478] Use highest input precision for datetimes in SqlTypeFactoryImpl.leastRestrictive add a990ecc4ae [CALCITE-5510] RelToSqlConverter should use ordinal for `ORDER BY` if the dialect allows add 0f1a40deef Add tests for [CALCITE-2980] Implement the FORMAT clause of the CAST operator add 49a0d5e9c1 [CALCITE-5357] Add FORMAT_TIME, FORMAT_DATE, FORMAT_DATETIME, FORMAT_TIMESTAMP functions (enabled in BigQuery library) add 65a5efc0d6 [CALCITE-5484] Add DATETIME_SUB function (enabled in BigQuery library) add cb97d299d2 [CALCITE-5469] Add DATETIME_ADD, DATETIME_DIFF, DATE_ADD, DATE_DIFF functions (enabled in BigQuery library) add 90599a6e9b [CALCITE-5518] RelToSql converter generates invalid order of ROLLUP fields add 4f1452ecfb CompositeOperandTypeChecker's java doc uses wrong class name add 2dba40e7a0 [CALCITE-5546] Code style: Break long assignment expressions after '=' add fb063e8d11 [CALCITE-5504] Array value constructor is unparsed incorrectly for `SparkSqlDialect` add 1e89771404 [CALCITE-5550] Update instructions for requesting Jira account to use self-serve facility add 4e19520962 [CALCITE-5545] Allow for overriding SqlValidator to enable custom SqlNode validation add ee9b80b0b6 [CALCITE-] Remove obsolete instructions for processing requests for new JIRA accounts add 7dfd641bae [CALCITE-5572] Release Calcite 1.34.0 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (dc487b1388) \ N -- N -- N refs/heads/site (7dfd641bae) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: babel/src/main/codegen/config.fmpp |1 + babel/src/test/resources/sql/big-query.iq | 209 +- build.gradle.kts |6 +- .../adapter/cassandra/CassandraEnumerator.java |7 +- .../calcite/adapter/cassandra/CassandraSchema.java |8 +- .../adapter/cassandra/CassandraSchemaFactory.java |4 +- .../calcite/adapter/cassandra/CassandraTable.java |9 +- .../test/CassandraAdapterDataTypesTest.java|7 +- core/src/main/codegen/default_config.fmpp |2 + core/src/main/codegen/templates/Parser.jj | 62 + .../apache/calcite/adapter/clone/ColumnLoader.java |9 +- .../calcite/adapter/enumerable/EnumUtils.java | 53 +- .../adapter/enumerable/EnumerableAggregate.java|4 +- .../enumerable/EnumerableAggregateBase.java| 18 +- .../enumerable/EnumerableBatchNestedLoopJoin.java | 28 +- .../adapter/enumerable/EnumerableBindable.java |5 +- .../calcite/adapter/enumerable/EnumerableCalc.java |8 +- .../adapter/enumerable/EnumerableConvention.java |6 +- .../adapter/enumerable/EnumerableCorrelate.java|5 +- .../adapter/enumerable/EnumerableHashJoin.java | 22 +- .../enumerable/EnumerableInterpretable.java|6 +- .../adapter/enumerable/EnumerableInterpreter.java |8 +- .../adapter/enumerable/EnumerableLimit.java| 29 +- .../adapter/enumerable/EnumerableLimitRule.java|8 +- .../adapter/enumerable/EnumerableLimitSort.java| 14 +- .../enumerable/EnumerableLimitSortRule.java| 17 +- .../adapter/enumerable/EnumerableMatch.java| 57 +- .../adapter/enumerable/EnumerableMergeJoin.java| 30 +- .../enumerable/EnumerableMergeJoinRule.java| 11 +- .../adapter/enumerable/EnumerableMergeUnion.java | 68 +- .../enumerable/EnumerableMergeUnionRule.java |5 +- .../enumerable/EnumerableRelImplementor.java | 30 +- .../adapter/enumerable/EnumerableRepeatUnion.java | 51 +- .../adapter/enumerable/EnumerableRules.java| 48 +- .../enumerable/EnumerableSortedAggregate.java | 31 +- .../enumerable/EnumerableSortedAggregateRule.java |7 +-
[calcite] annotated tag calcite-1.34.0 updated (7dfd641bae -> fbedb6f312)
This is an automated email from the ASF dual-hosted git repository. zabetak pushed a change to annotated tag calcite-1.34.0 in repository https://gitbox.apache.org/repos/asf/calcite.git *** WARNING: tag calcite-1.34.0 was modified! *** from 7dfd641bae (commit) to fbedb6f312 (tag) tagging 7dfd641baeb0e1b26dec04da5241c3999fe0ac6a (commit) replaces calcite-1.31.0 by Stamatis Zampetakis on Tue Mar 14 14:18:51 2023 +0100 - Log - Tag explicitly 1.34.0 release without -rc suffix --- No new revisions were added by this update. Summary of changes:
[calcite-site] branch main updated: Website deployed from calcite@7dfd641baeb0e1b26dec04da5241c3999fe0ac6a
This is an automated email from the ASF dual-hosted git repository. asf-ci-deploy pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/calcite-site.git The following commit(s) were added to refs/heads/main by this push: new ed0d02943 Website deployed from calcite@7dfd641baeb0e1b26dec04da5241c3999fe0ac6a ed0d02943 is described below commit ed0d02943f4461d8c2b00c18e6595ed6dda893ac Author: zabetak AuthorDate: Tue Mar 14 13:15:11 2023 + Website deployed from calcite@7dfd641baeb0e1b26dec04da5241c3999fe0ac6a --- docs/history.html | 183 +++--- docs/howto.html | 4 +- 2 files changed, 162 insertions(+), 25 deletions(-) diff --git a/docs/history.html b/docs/history.html index 81ebef659..415d731bf 100644 --- a/docs/history.html +++ b/docs/history.html @@ -84,10 +84,10 @@ Downloads are available on the downloads page. + + +https://github.com/apache/calcite/releases/tag/calcite-1.34.0;>1.34.0 / 2023-03-XX + +This release comes 1 month after 1.33.0, +contains contributions from 18 contributors, and resolves 34 issues. It’s worth highlighting the +introduction of QUALIFY clause ([https://issues.apache.org/jira/browse/CALCITE-5268;>CALCITE-5268]), +which facilitates filtering the results of window functions. Among other improvements and fixes, it +adds roughly 15 new functions in BigQuery library for handling dates, times, and timestamps, and +provides a fix ([https://issues.apache.org/jira/browse/CALCITE-5522;>CALCITE-5522]) +for a small breaking change in DATE_TRUNC function +([https://issues.apache.org/jira/browse/CALCITE-5447;>CALCITE-5447]), which was +introduced accidentally in 1.33.0. + +Contributors to this release: +Alessandro Solimando, +Benchao Li, +Brandon Chong, +Dmitry Sysolyatin, +Francis Chuang, +Gian Merlino, +Guillaume Massé, +Jiajun Xie, +Julian Hyde, +Moritz Mack, +Oliver Lee, +Peng Wang, +Stamatis Zampetakis (release manager), +Tanner Clary, +Tim Nieradzik, +TJ Banghart, +xinqiu.hu, +Zou Dan. + + +Breaking Changes + +[https://issues.apache.org/jira/browse/CALCITE-3870;>CALCITE-3870] + Change the default value of +https://calcite.apache.org/javadocAggregate/org/apache/calcite/sql2rel/SqlToRelConverter.Config.html#isExpand()">SqlToRelConverter.Config.expand +from true to false. From now on SqlToRelConverter, handles sub-queries (such +as IN, EXISTS, and scalar sub-queries) by converting them to RexSubQuery +expressions, rather than expanding them. To expand these RexSubQuery +expressions, the SubQueryRemoveRule rule must be enabled in the planning +phase. +To keep the old behavior (which is discouraged but still supported), +initialize SqlToRelConverter using SqlToRelConverter.config().withExpand(true) as the value for +the config argument. + +Compatibility: This release is tested on Linux, macOS, Microsoft Windows; +using JDK/OpenJDK versions 8 to 18; +Guava versions 16.0.1 to 31.1-jre; +other software versions as specified in gradle.properties. + +New features + + + [https://issues.apache.org/jira/browse/CALCITE-5268;>CALCITE-5268] +Add QUALIFY clause + [https://issues.apache.org/jira/browse/CALCITE-5469;>CALCITE-5469] +Add DATETIME_ADD, DATETIME_DIFF, DATE_ADD, DATE_DIFF functions (enabled in BigQuery library) + [https://issues.apache.org/jira/browse/CALCITE-5484;>CALCITE-5484] +Add DATETIME_SUB function (enabled in BigQuery library) + [https://issues.apache.org/jira/browse/CALCITE-5357;>CALCITE-5357] +Add FORMAT_TIME, FORMAT_DATE, FORMAT_DATETIME, FORMAT_TIMESTAMP functions (enabled in BigQuery library) + [https://issues.apache.org/jira/browse/CALCITE-5508;>CALCITE-5508] +Add constructor functions for DATE, TIME, TIMESTAMP, DATETIME (enabled in BigQuery library) + + +Dependency version upgrade + + + Bump Quidem from 0.10 to 0.11 + + +Bug-fixes, API changes and minor enhancements + + + [https://issues.apache.org/jira/browse/CALCITE-5545;>CALCITE-5545] +Allow for overriding SqlValidator to enable custom SqlNode validation + [https://issues.apache.org/jira/browse/CALCITE-5504;>CALCITE-5504] +Array value constructor is unparsed incorrectly for SparkSqlDialect + + [https://issues.apache.org/jira/browse/CALCITE-5518;>CALCITE-5518] +RelToSqlConverter generates invalid order of ROLLUP fields + [https://issues.apache.org/jira/browse/CALCITE-5510;>CALCITE-5510] +RelToSqlConverter should use ordinal for ORDER BY if the dialect allows + [https://issues.apache.org/jira/browse/CALCITE-5478;>CALCITE-5478] +Use highest input precision for datetimes in SqlTypeFactoryImpl.leastRestrictive + + [https://issues.apache.org/jira/browse/CALCITE-5522;>CALCITE-5522] +Babel parser cannot handle some overloads of the DATE_TRUNC function + [https://issues.apache.org/jira/browse/CALCITE-5531;>CALCITE-5531] +COALESCE function throws ClassCastException + + [https://issues.apache.org/jira/browse/CALCITE-5507;>CALCITE-5507] +HAVING alias fails for mixed usage of alias and aggregate
[calcite] branch site updated: [CALCITE-5572] Release Calcite 1.34.0
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch site in repository https://gitbox.apache.org/repos/asf/calcite.git The following commit(s) were added to refs/heads/site by this push: new dc487b1388 [CALCITE-5572] Release Calcite 1.34.0 dc487b1388 is described below commit dc487b138849862d91070fa6215df731e18bc289 Author: Stamatis Zampetakis AuthorDate: Fri Mar 10 00:16:50 2023 +0100 [CALCITE-5572] Release Calcite 1.34.0 --- README| 2 +- site/_docs/history.md | 146 ++ site/_docs/howto.md | 4 +- 3 files changed, 138 insertions(+), 14 deletions(-) diff --git a/README b/README index f561c53fa8..87c004816e 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Apache Calcite release 1.33.0 +Apache Calcite release 1.34.0 This is a source or binary distribution of Apache Calcite. diff --git a/site/_docs/history.md b/site/_docs/history.md index cbf27d2687..b83ed62128 100644 --- a/site/_docs/history.md +++ b/site/_docs/history.md @@ -29,10 +29,10 @@ Downloads are available on the [downloads page]({{ site.baseurl }}/downloads/). + +## https://github.com/apache/calcite/releases/tag/calcite-1.34.0;>1.34.0 / 2023-03-XX +{: #v1-34-0} + +This release comes 1 month after [1.33.0](#v1-33-0), +contains contributions from 18 contributors, and resolves 34 issues. It's worth highlighting the +introduction of QUALIFY clause ([https://issues.apache.org/jira/browse/CALCITE-5268;>CALCITE-5268]), +which facilitates filtering the results of window functions. Among other improvements and fixes, it +adds roughly 15 new functions in BigQuery library for handling dates, times, and timestamps, and +provides a fix ([https://issues.apache.org/jira/browse/CALCITE-5522;>CALCITE-5522]) +for a small breaking change in `DATE_TRUNC` function +([https://issues.apache.org/jira/browse/CALCITE-5447;>CALCITE-5447]), which was +introduced accidentally in [1.33.0](#v1-33-0). + +Contributors to this release: +Alessandro Solimando, +Benchao Li, +Brandon Chong, +Dmitry Sysolyatin, +Francis Chuang, +Gian Merlino, +Guillaume Massé, +Jiajun Xie, +Julian Hyde, +Moritz Mack, +Oliver Lee, +Peng Wang, +Stamatis Zampetakis (release manager), +Tanner Clary, +Tim Nieradzik, +TJ Banghart, +xinqiu.hu, +Zou Dan. + + + Breaking Changes {: #breaking-1-34-0} -As of [CALCITE-3870](https://issues.apache.org/jira/browse/CALCITE-3870), -the default value of +[https://issues.apache.org/jira/browse/CALCITE-3870;>CALCITE-3870] + Change the default value of [SqlToRelConverter.Config.expand](https://calcite.apache.org/javadocAggregate/org/apache/calcite/sql2rel/SqlToRelConverter.Config.html#isExpand()) -is now false, which means that `SqlToRelConverter` handles sub-queries (such +from true to false. From now on `SqlToRelConverter`, handles sub-queries (such as `IN`, `EXISTS`, and scalar sub-queries) by converting them to `RexSubQuery` expressions, rather than expanding them. To expand these `RexSubQuery` expressions, the `SubQueryRemoveRule` rule must be enabled in the planning phase. - To keep the old behavior (which is discouraged but still supported), -initialize `SqlToRelConverter` using -`SqlToRelConverter.config().withExpandDeprecated(true)` as the value for the `config` -argument. +initialize `SqlToRelConverter` using `SqlToRelConverter.config().withExpand(true)` as the value for +the `config` argument. Compatibility: This release is tested on Linux, macOS, Microsoft Windows; using JDK/OpenJDK versions 8 to 18; @@ -65,18 +125,82 @@ other software versions as specified in gradle.properties. New features {: #new-features-1-34-0} +* [https://issues.apache.org/jira/browse/CALCITE-5268;>CALCITE-5268] + Add `QUALIFY` clause +* [https://issues.apache.org/jira/browse/CALCITE-5469;>CALCITE-5469] + Add `DATETIME_ADD`, `DATETIME_DIFF`, `DATE_ADD`, `DATE_DIFF` functions (enabled in BigQuery library) +* [https://issues.apache.org/jira/browse/CALCITE-5484;>CALCITE-5484] + Add `DATETIME_SUB` function (enabled in BigQuery library) +* [https://issues.apache.org/jira/browse/CALCITE-5357;>CALCITE-5357] + Add `FORMAT_TIME`, `FORMAT_DATE`, `FORMAT_DATETIME`, `FORMAT_TIMESTAMP` functions (enabled in BigQuery library) +* [https://issues.apache.org/jira/browse/CALCITE-5508;>CALCITE-5508] + Add constructor functions for `DATE`, `TIME`, `TIMESTAMP`, `DATETIME` (enabled in BigQuery library) + Dependency version upgrade {: #dependency-1-34-0} +* Bump Quidem from 0.10 to 0.11 + Bug-fixes, API changes and minor enhancements {: #fixes-1-34-0} +* [https://issues.apache.org/jira/browse/CALCITE-5545;>CALCITE-5545] + Allow for overriding `SqlValidator` to enable custom `SqlNode` validation +* [https://issues.apache.org/jira/browse/CALCITE-5504;>CALCITE-5504] + Array value constructor is unparsed incorrectly for `SparkSqlDialect` +*
[calcite] branch main updated (ee9b80b0b6 -> 7dfd641bae)
This is an automated email from the ASF dual-hosted git repository. zabetak pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/calcite.git from ee9b80b0b6 [CALCITE-] Remove obsolete instructions for processing requests for new JIRA accounts add 7dfd641bae [CALCITE-5572] Release Calcite 1.34.0 No new revisions were added by this update. Summary of changes: README| 2 +- site/_docs/history.md | 146 ++ site/_docs/howto.md | 4 +- 3 files changed, 138 insertions(+), 14 deletions(-)
svn commit: r60585 - in /release/calcite: apache-calcite-1.27.0/ apache-calcite-1.28.0/ apache-calcite-1.29.0/ apache-calcite-1.30.0/ apache-calcite-1.31.0/ apache-calcite-1.32.0/
Author: zabetak Date: Tue Mar 14 13:07:13 2023 New Revision: 60585 Log: Remove old calcite release (1.27.0 to 1.32.0) Removed: release/calcite/apache-calcite-1.27.0/ release/calcite/apache-calcite-1.28.0/ release/calcite/apache-calcite-1.29.0/ release/calcite/apache-calcite-1.30.0/ release/calcite/apache-calcite-1.31.0/ release/calcite/apache-calcite-1.32.0/
svn commit: r60584 - /dev/calcite/apache-calcite-1.34.0-rc0/ /release/calcite/apache-calcite-1.34.0/
Author: zabetak Date: Tue Mar 14 12:23:20 2023 New Revision: 60584 Log: Promoting Apache Calcite calcite-1.34.0-rc0 -> calcite-1.34.0 to release area Added: release/calcite/apache-calcite-1.34.0/ release/calcite/apache-calcite-1.34.0/apache-calcite-1.34.0-src.tar.gz - copied unchanged from r60513, dev/calcite/apache-calcite-1.34.0-rc0/apache-calcite-1.34.0-src.tar.gz release/calcite/apache-calcite-1.34.0/apache-calcite-1.34.0-src.tar.gz.asc - copied unchanged from r60513, dev/calcite/apache-calcite-1.34.0-rc0/apache-calcite-1.34.0-src.tar.gz.asc release/calcite/apache-calcite-1.34.0/apache-calcite-1.34.0-src.tar.gz.sha512 - copied unchanged from r60513, dev/calcite/apache-calcite-1.34.0-rc0/apache-calcite-1.34.0-src.tar.gz.sha512 Removed: dev/calcite/apache-calcite-1.34.0-rc0/
[GitHub] [calcite] zabetak closed pull request #3097: Rushikesh.sapate/rtp 175 added next day function
zabetak closed pull request #3097: Rushikesh.sapate/rtp 175 added next day function URL: https://github.com/apache/calcite/pull/3097 -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [calcite] zabetak commented on pull request #3097: Rushikesh.sapate/rtp 175 added next day function
zabetak commented on PR #3097: URL: https://github.com/apache/calcite/pull/3097#issuecomment-1467958557 There are too many changes and conflicts and the PR looks like spam. Please check the contributions guidelines (https://calcite.apache.org/develop/#contributing) before raising pull requests. -- 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, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org