Re: [PR] [CALCITE-6302] Release Calcite 1.37.0 [calcite]

2024-04-25 Thread via GitHub
sonarcloud[bot] commented on PR #3768: URL: https://github.com/apache/calcite/pull/3768#issuecomment-2078673510 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate

Re: [PR] [CALCITE-6300] Function MAP_VALUES/MAP_KEYS gives exception when mapVauleType and mapKeyType not equals map Biggest mapKeytype or mapValueType [calcite]

2024-04-25 Thread via GitHub
caicancai commented on code in PR #3721: URL: https://github.com/apache/calcite/pull/3721#discussion_r1580341451 ## core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java: ## @@ -1163,6 +1163,52 @@ private static RelDataType mapReturnType(SqlOperatorBinding

Re: [PR] [CALCITE-6300] Function MAP_VALUES/MAP_KEYS gives exception when mapVauleType and mapKeyType not equals map Biggest mapKeytype or mapValueType [calcite]

2024-04-25 Thread via GitHub
caicancai commented on code in PR #3721: URL: https://github.com/apache/calcite/pull/3721#discussion_r1579578732 ## core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java: ## @@ -1163,6 +1163,52 @@ private static RelDataType mapReturnType(SqlOperatorBinding

Re: [PR] [CALCITE-6383] The class SameOperandTypeChecker is incorrectly documented. [calcite]

2024-04-25 Thread via GitHub
sonarcloud[bot] commented on PR #3774: URL: https://github.com/apache/calcite/pull/3774#issuecomment-2078348487 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate

[PR] [CALCITE-6383] The class SameOperandTypeChecker is incorrectly documented. [calcite]

2024-04-25 Thread via GitHub
mihaibudiu opened a new pull request, #3774: URL: https://github.com/apache/calcite/pull/3774 (no comment) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe,

Re: [PR] [CALCITE-6358] Support all PostgreSQL 14 date/time patterns [calcite]

2024-04-25 Thread via GitHub
sonarcloud[bot] commented on PR #3773: URL: https://github.com/apache/calcite/pull/3773#issuecomment-2078316741 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate

Re: [PR] [CALCITE-6358] Support all PostgreSQL 14 date/time patterns [calcite]

2024-04-25 Thread via GitHub
sonarcloud[bot] commented on PR #3773: URL: https://github.com/apache/calcite/pull/3773#issuecomment-2078270694 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate

Re: [PR] [CALCITE-6358] Support all PostgreSQL 14 date/time patterns [calcite]

2024-04-25 Thread via GitHub
sonarcloud[bot] commented on PR #3773: URL: https://github.com/apache/calcite/pull/3773#issuecomment-2078232952 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate

Re: [PR] [CALCITE-6340] RelBuilder drops set conventions when aggregating over duplicate projected fields [calcite]

2024-04-25 Thread via GitHub
sonarcloud[bot] commented on PR #3757: URL: https://github.com/apache/calcite/pull/3757#issuecomment-2078225502 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate

Re: [PR] [CALCITE-6340] RelBuilder drops set conventions when aggregating over duplicate projected fields [calcite]

2024-04-25 Thread via GitHub
jduo commented on code in PR #3757: URL: https://github.com/apache/calcite/pull/3757#discussion_r1580165436 ## core/src/main/java/org/apache/calcite/tools/RelBuilder.java: ## @@ -2502,9 +2502,10 @@ private RelBuilder pruneAggregateInputFieldsAndDeduplicateAggCalls(

Re: [PR] [CALCITE-6302] Release Calcite 1.37.0 [calcite]

2024-04-25 Thread via GitHub
sonarcloud[bot] commented on PR #3768: URL: https://github.com/apache/calcite/pull/3768#issuecomment-2078085445 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate

(calcite) annotated tag calcite-1.37.0-rc2 updated (6d8175111e -> 3e9e9295d3)

2024-04-25 Thread snuyanzin
This is an automated email from the ASF dual-hosted git repository. snuyanzin pushed a change to annotated tag calcite-1.37.0-rc2 in repository https://gitbox.apache.org/repos/asf/calcite.git *** WARNING: tag calcite-1.37.0-rc2 was modified! *** from 6d8175111e (commit) to 3e9e9295d3

svn commit: r68794 - in /dev/calcite/apache-calcite-1.37.0-rc2: ./ apache-calcite-1.37.0-src.tar.gz apache-calcite-1.37.0-src.tar.gz.asc apache-calcite-1.37.0-src.tar.gz.sha512

2024-04-25 Thread snuyanzin
Author: snuyanzin Date: Thu Apr 25 20:01:33 2024 New Revision: 68794 Log: Uploading release candidate Apache Calcite calcite-1.37.0-rc2 to dev area Added: dev/calcite/apache-calcite-1.37.0-rc2/ dev/calcite/apache-calcite-1.37.0-rc2/apache-calcite-1.37.0-src.tar.gz

(calcite) annotated tag calcite-1.37.0-rc2 deleted (was e6f6b00628)

2024-04-25 Thread snuyanzin
This is an automated email from the ASF dual-hosted git repository. snuyanzin pushed a change to annotated tag calcite-1.37.0-rc2 in repository https://gitbox.apache.org/repos/asf/calcite.git *** WARNING: tag calcite-1.37.0-rc2 was deleted! *** tag was e6f6b00628 The revisions that were

Re: [PR] [CALCITE-6300] Function MAP_VALUES/MAP_KEYS gives exception when mapVauleType and mapKeyType not equals map Biggest mapKeytype or mapValueType [calcite]

2024-04-25 Thread via GitHub
mihaibudiu commented on code in PR #3721: URL: https://github.com/apache/calcite/pull/3721#discussion_r1580018917 ## core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java: ## @@ -1163,6 +1163,52 @@ private static RelDataType mapReturnType(SqlOperatorBinding

Re: [PR] [CALCITE-6358] Support all PostgreSQL 14 date/time patterns [calcite]

2024-04-25 Thread via GitHub
mihaibudiu commented on PR #3773: URL: https://github.com/apache/calcite/pull/3773#issuecomment-2078003367 The amount of testing is very impressive. These won't be easy to review. I assume they were checked against postgres. You should address the failures reported by the CI. -- This

Re: [PR] [CALCITE-6365] Support for RETURNING clause of JSON_QUERY [calcite]

2024-04-25 Thread via GitHub
mihaibudiu commented on code in PR #3771: URL: https://github.com/apache/calcite/pull/3771#discussion_r1580009150 ## core/src/test/java/org/apache/calcite/test/JdbcTest.java: ## @@ -8056,6 +8056,17 @@ private void checkGetTimestamp(Connection con) throws SQLException {

Re: [PR] [CALCITE-6365] Support for RETURNING clause of JSON_QUERY [calcite]

2024-04-25 Thread via GitHub
mihaibudiu commented on PR #3771: URL: https://github.com/apache/calcite/pull/3771#issuecomment-2077972107 When you respond to comments you should not force-push, but rather add new commits, to make it easier to review what's new. -- This is an automated message from the Apache Git

Re: [PR] [CALCITE-6358] Support all PostgreSQL 14 date/time patterns [calcite]

2024-04-25 Thread via GitHub
normanj-bitquill commented on PR #3773: URL: https://github.com/apache/calcite/pull/3773#issuecomment-207870 Need to properly separate the MySQL/Oracle implementation of `TO_CHAR` from the PostgreSQL implementation. -- This is an automated message from the Apache Git Service. To

svn commit: r68793 - /dev/calcite/apache-calcite-1.37.0-rc2/

2024-04-25 Thread snuyanzin
Author: snuyanzin Date: Thu Apr 25 16:42:04 2024 New Revision: 68793 Log: Wrong branch while rc creation Removed: dev/calcite/apache-calcite-1.37.0-rc2/

(calcite) annotated tag calcite-1.37.0-rc2 updated (aa8d81bf1f -> e6f6b00628)

2024-04-25 Thread snuyanzin
This is an automated email from the ASF dual-hosted git repository. snuyanzin pushed a change to annotated tag calcite-1.37.0-rc2 in repository https://gitbox.apache.org/repos/asf/calcite.git *** WARNING: tag calcite-1.37.0-rc2 was modified! *** from aa8d81bf1f (commit) to e6f6b00628

svn commit: r68792 - in /dev/calcite/apache-calcite-1.37.0-rc2: ./ apache-calcite-1.37.0-src.tar.gz apache-calcite-1.37.0-src.tar.gz.asc apache-calcite-1.37.0-src.tar.gz.sha512

2024-04-25 Thread snuyanzin
Author: snuyanzin Date: Thu Apr 25 16:39:24 2024 New Revision: 68792 Log: Uploading release candidate Apache Calcite calcite-1.37.0-rc2 to dev area Added: dev/calcite/apache-calcite-1.37.0-rc2/ dev/calcite/apache-calcite-1.37.0-rc2/apache-calcite-1.37.0-src.tar.gz

svn commit: r68791 - /dev/calcite/apache-calcite-1.37.0-rc0/

2024-04-25 Thread snuyanzin
Author: snuyanzin Date: Thu Apr 25 16:34:20 2024 New Revision: 68791 Log: Need another rc for Apache Calcite 1.37.0 Removed: dev/calcite/apache-calcite-1.37.0-rc0/

Re: [PR] [CALCITE-6300] Function MAP_VALUES/MAP_KEYS gives exception when mapVauleType and mapKeyType not equals map Biggest mapKeytype or mapValueType [calcite]

2024-04-25 Thread via GitHub
caicancai commented on code in PR #3721: URL: https://github.com/apache/calcite/pull/3721#discussion_r1579547887 ## core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java: ## @@ -1163,6 +1163,52 @@ private static RelDataType mapReturnType(SqlOperatorBinding

Re: [PR] [CALCITE-6300] Function MAP_VALUES/MAP_KEYS gives exception when mapVauleType and mapKeyType not equals map Biggest mapKeytype or mapValueType [calcite]

2024-04-25 Thread via GitHub
caicancai commented on code in PR #3721: URL: https://github.com/apache/calcite/pull/3721#discussion_r1579578732 ## core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java: ## @@ -1163,6 +1163,52 @@ private static RelDataType mapReturnType(SqlOperatorBinding

Re: [PR] [CALCITE-6300] Function MAP_VALUES/MAP_KEYS gives exception when mapVauleType and mapKeyType not equals map Biggest mapKeytype or mapValueType [calcite]

2024-04-25 Thread via GitHub
caicancai commented on code in PR #3721: URL: https://github.com/apache/calcite/pull/3721#discussion_r1579547887 ## core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java: ## @@ -1163,6 +1163,52 @@ private static RelDataType mapReturnType(SqlOperatorBinding

Re: [PR] [CALCITE-6300] Function MAP_VALUES/MAP_KEYS gives exception when mapVauleType and mapKeyType not equals map Biggest mapKeytype or mapValueType [calcite]

2024-04-25 Thread via GitHub
caicancai commented on code in PR #3721: URL: https://github.com/apache/calcite/pull/3721#discussion_r1579547887 ## core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java: ## @@ -1163,6 +1163,52 @@ private static RelDataType mapReturnType(SqlOperatorBinding

Re: [PR] [CALCITE-6300] Function MAP_VALUES/MAP_KEYS gives exception when mapVauleType and mapKeyType not equals map Biggest mapKeytype or mapValueType [calcite]

2024-04-25 Thread via GitHub
caicancai commented on code in PR #3721: URL: https://github.com/apache/calcite/pull/3721#discussion_r1579514354 ## core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java: ## @@ -1163,6 +1163,52 @@ private static RelDataType mapReturnType(SqlOperatorBinding

Re: [PR] [CALCITE-6300] Function MAP_VALUES/MAP_KEYS gives exception when mapVauleType and mapKeyType not equals map Biggest mapKeytype or mapValueType [calcite]

2024-04-25 Thread via GitHub
caicancai commented on code in PR #3721: URL: https://github.com/apache/calcite/pull/3721#discussion_r1579514354 ## core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java: ## @@ -1163,6 +1163,52 @@ private static RelDataType mapReturnType(SqlOperatorBinding

Re: [PR] [CALCITE-6384] Add ASF header to buildcache.yml, gradle-wrapper-validation.yml [calcite]

2024-04-25 Thread via GitHub
zabetak merged PR #3770: URL: https://github.com/apache/calcite/pull/3770 -- 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:

(calcite) branch main updated: [CALCITE-6384] Add ASF header to buildcache.yml, gradle-wrapper-validation.yml

2024-04-25 Thread zabetak
This is an automated email from the ASF dual-hosted git repository. zabetak pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/calcite.git The following commit(s) were added to refs/heads/main by this push: new aa8d81bf1f [CALCITE-6384] Add ASF header to

(calcite) branch main updated: [CALCITE-6385] LintTest fails when run in source distribution

2024-04-25 Thread zabetak
This is an automated email from the ASF dual-hosted git repository. zabetak pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/calcite.git The following commit(s) were added to refs/heads/main by this push: new f78dd940d7 [CALCITE-6385] LintTest fails when run

Re: [PR] [CALCITE-6385] LintTest fails when run in source distribution [calcite]

2024-04-25 Thread via GitHub
zabetak merged PR #3772: URL: https://github.com/apache/calcite/pull/3772 -- 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:

Re: [PR] [CALCITE-6385] LintTest fails when run in source distribution [calcite]

2024-04-25 Thread via GitHub
snuyanzin commented on PR #3772: URL: https://github.com/apache/calcite/pull/3772#issuecomment-2077078136 @zabetak thanks a lot for working on it yep, it would be great if you merge it and then I will create another RC -- This is an automated message from the Apache Git Service. To

Re: [PR] [CALCITE-6384] Add ASF header to buildcache.yml, gradle-wrapper-validation.yml [calcite]

2024-04-25 Thread via GitHub
snuyanzin commented on PR #3770: URL: https://github.com/apache/calcite/pull/3770#issuecomment-2077075197 @zabetak yep agree, I think it would be a good idea to merge it before another RC thanks for working on it! -- This is an automated message from the Apache Git Service. To respond

Re: [PR] [CALCITE-6365] Support for RETURNING clause of JSON_QUERY [calcite]

2024-04-25 Thread via GitHub
dawidwys commented on PR #3771: URL: https://github.com/apache/calcite/pull/3771#issuecomment-2077041983 @mihaibudiu I extended the PR with runtime evaluation -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

Re: [PR] [CALCITE-6300] Function MAP_VALUES/MAP_KEYS gives exception when mapVauleType and mapKeyType not equals map Biggest mapKeytype or mapValueType [calcite]

2024-04-25 Thread via GitHub
caicancai commented on code in PR #3721: URL: https://github.com/apache/calcite/pull/3721#discussion_r1579315119 ## core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java: ## @@ -1163,6 +1163,52 @@ private static RelDataType mapReturnType(SqlOperatorBinding

Re: [PR] [CALCITE-6384] Add ASF header to buildcache.yml, gradle-wrapper-validation.yml [calcite]

2024-04-25 Thread via GitHub
zabetak commented on PR #3770: URL: https://github.com/apache/calcite/pull/3770#issuecomment-2076968123 @snuyanzin Since we are cutting another RC let me know if you want me to merge this to main or do it after. -- This is an automated message from the Apache Git Service. To respond to

Re: [PR] [CALCITE-6300] Function MAP_VALUES/MAP_KEYS gives exception when mapVauleType and mapKeyType not equals map Biggest mapKeytype or mapValueType [calcite]

2024-04-25 Thread via GitHub
caicancai commented on code in PR #3721: URL: https://github.com/apache/calcite/pull/3721#discussion_r1579315119 ## core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java: ## @@ -1163,6 +1163,52 @@ private static RelDataType mapReturnType(SqlOperatorBinding

Re: [PR] [CALCITE-6385] LintTest fails when run in source distribution [calcite]

2024-04-25 Thread via GitHub
zabetak commented on PR #3772: URL: https://github.com/apache/calcite/pull/3772#issuecomment-2076966456 Thanks for the review @rubenada ! @snuyanzin I know that `main` is on code freeze so let me know if I can merge this or you have another workflow in mind. -- This is an

Re: [PR] [CALCITE-6385] LintTest fails when run in source distribution [calcite]

2024-04-25 Thread via GitHub
zabetak commented on PR #3772: URL: https://github.com/apache/calcite/pull/3772#issuecomment-2076909217 I run the tests through IntelliJ, git repo, and source, and it works everytime. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

Re: [PR] [CALCITE-6385] LintTest fails when run in source distribution [calcite]

2024-04-25 Thread via GitHub
sonarcloud[bot] commented on PR #3772: URL: https://github.com/apache/calcite/pull/3772#issuecomment-2076900077 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate

[PR] [CALCITE-6385] LintTest fails when run in source distribution [calcite]

2024-04-25 Thread via GitHub
zabetak opened a new pull request, #3772: URL: https://github.com/apache/calcite/pull/3772 The testContributorsFileIsSorted and testMailmapFile tests fail cause they rely on git and there is no git info available in source distribution. In fact the tests don't really need git and the