Re: [PR] [CALCITE-5825] Add URL_ENCODE and URL_DECODE function (enabled in Spark library) [calcite]

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

Re: [PR] [CALCITE-6065] Add HEX and UNHEX functions (enabled in Hive and Spark libraries) [calcite]

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

Re: [PR] [CALCITE-5825] Add URL_ENCODE and URL_DECODE function (enabled in Spark library) [calcite]

2023-10-25 Thread via GitHub
herunkang2018 commented on code in PR #3318: URL: https://github.com/apache/calcite/pull/3318#discussion_r1372603727 ## site/_docs/reference.md: ## @@ -2854,6 +2854,8 @@ BigQuery's type system uses confusingly different names for types and functions: | b |

Re: [PR] [CALCITE-5826] Add FIND_IN_SET function (enabled in Hive and Spark library) [calcite]

2023-10-25 Thread via GitHub
herunkang2018 commented on code in PR #3317: URL: https://github.com/apache/calcite/pull/3317#discussion_r1372602405 ## site/_docs/reference.md: ## @@ -2729,6 +2729,7 @@ BigQuery's type system uses confusingly different names for types and functions: | o | EXTRACT(xml, xpath,

Re: [PR] [CALCITE-6065] Add HEX and UNHEX functions (enabled in Hive and Spark libraries) [calcite]

2023-10-25 Thread via GitHub
herunkang2018 commented on PR #3479: URL: https://github.com/apache/calcite/pull/3479#issuecomment-1780425423 @mihaibudiu @macroguo-ghy Thanks for review, all comments resolved, please help review again if you have time. -- This is an automated message from the Apache Git Service. To

Re: [PR] [CALCITE-5918] Add MAP function (enabled in Spark library) [calcite]

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

Re: [PR] [CALCITE-6065] Add HEX and UNHEX functions (enabled in Hive and Spark libraries) [calcite]

2023-10-25 Thread via GitHub
herunkang2018 commented on code in PR #3479: URL: https://github.com/apache/calcite/pull/3479#discussion_r1372590947 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -4520,22 +4520,87 @@ void testBitGetFunc(SqlOperatorFixture f, String functionName)

Re: [PR] [CALCITE-5918] Add MAP function (enabled in Spark library) [calcite]

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

Re: [PR] [CALCITE-5918] Add MAP function (enabled in Spark library) [calcite]

2023-10-25 Thread via GitHub
chucheng92 commented on code in PR #3459: URL: https://github.com/apache/calcite/pull/3459#discussion_r1372215059 ## core/src/main/java/org/apache/calcite/prepare/LixToRelTranslator.java: ## @@ -97,7 +97,7 @@ public RelNode translate(Queryable queryable) { public RelNode

Re: [PR] [CALCITE-5918] Add MAP function (enabled in Spark library) [calcite]

2023-10-25 Thread via GitHub
chucheng92 commented on code in PR #3459: URL: https://github.com/apache/calcite/pull/3459#discussion_r1372573530 ## core/src/main/java/org/apache/calcite/sql/type/OperandTypes.java: ## @@ -1221,6 +1225,53 @@ private static class MapFromEntriesOperandTypeChecker } } +

Re: [PR] [CALCITE-6065] Add HEX and UNHEX functions (enabled in Hive and Spark libraries) [calcite]

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

Re: [PR] [CALCITE-6065] Add HEX and UNHEX functions (enabled in Hive and Spark libraries) [calcite]

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

Re: [PR] [CALCITE-6065] Add HEX and UNHEX functions (enabled in Hive and Spark libraries) [calcite]

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

Re: [PR] [CALCITE-5918] Add MAP function (enabled in Spark library) [calcite]

2023-10-25 Thread via GitHub
JiajunBernoulli commented on code in PR #3459: URL: https://github.com/apache/calcite/pull/3459#discussion_r1372495642 ## core/src/main/java/org/apache/calcite/sql/type/OperandTypes.java: ## @@ -1221,6 +1225,53 @@ private static class MapFromEntriesOperandTypeChecker }

Re: [PR] [CALCITE-6052] SqlImplementor writes REAL, FLOAT, and DOUBLE literals as DECIMAL literals [calcite]

2023-10-25 Thread via GitHub
mihaibudiu commented on PR #3472: URL: https://github.com/apache/calcite/pull/3472#issuecomment-1780284974 I have applied the suggested changes and squashed the commits optimistically. But an audit of the code has uncovered the fact that DOUBLE, REAL, and FLOAT are treated widely

Re: [PR] [CALCITE-6024] ListSqlOperatorTable is inefficient [calcite]

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

Re: [PR] [CALCITE-6024] ListSqlOperatorTable is inefficient [calcite]

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

[PR] [CALCITE-6024] ListSqlOperatorTable is inefficient [calcite]

2023-10-25 Thread via GitHub
julianhyde opened a new pull request, #3483: URL: https://github.com/apache/calcite/pull/3483 ListSqlOperatorTable is inefficient if it contains a large number of operators. It currently examines the operators one by one. ReflectiveSqlOperatorTable (and its subclass, SqlStdOperatorTable)

Re: [PR] [CALCITE-6065] Add HEX and UNHEX functions (enabled in Hive and Spark libraries) [calcite]

2023-10-25 Thread via GitHub
herunkang2018 commented on code in PR #3479: URL: https://github.com/apache/calcite/pull/3479#discussion_r1372447829 ## site/_docs/reference.md: ## @@ -2739,6 +2739,9 @@ BigQuery's type system uses confusingly different names for types and functions: | b |

Re: [PR] [CALCITE-6065] Add HEX and UNHEX functions (enabled in Hive and Spark libraries) [calcite]

2023-10-25 Thread via GitHub
herunkang2018 commented on code in PR #3479: URL: https://github.com/apache/calcite/pull/3479#discussion_r1372447829 ## site/_docs/reference.md: ## @@ -2739,6 +2739,9 @@ BigQuery's type system uses confusingly different names for types and functions: | b |

Re: [PR] [CALCITE-5825] Add URL_ENCODE and URL_DECODE function (enabled in Spark library) [calcite]

2023-10-25 Thread via GitHub
herunkang2018 commented on code in PR #3318: URL: https://github.com/apache/calcite/pull/3318#discussion_r1372447304 ## site/_docs/reference.md: ## @@ -2854,6 +2854,8 @@ BigQuery's type system uses confusingly different names for types and functions: | b |

Re: [PR] [CALCITE-6038] Remove 'ORDER BY ... LIMIT n' when input has at most one row, n >= 1, and there is no 'OFFSET' clause [calcite]

2023-10-25 Thread via GitHub
asfgit closed pull request #3467: [CALCITE-6038] Remove 'ORDER BY ... LIMIT n' when input has at most one row, n >= 1, and there is no 'OFFSET' clause URL: https://github.com/apache/calcite/pull/3467 -- This is an automated message from the Apache Git Service. To respond to the message,

[calcite] branch main updated: [CALCITE-6038] Remove 'ORDER BY ... LIMIT n' when input has at most one row, n >= 1, and there is no 'OFFSET' clause

2023-10-25 Thread jhyde
This is an automated email from the ASF dual-hosted git repository. jhyde 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 79f2f61dcc [CALCITE-6038] Remove 'ORDER BY ...

Re: [PR] [CALCITE-5990] Explicit cast to numeric type doesn't check overflow [calcite]

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

Re: [PR] [CALCITE-5990] Explicit cast to numeric type doesn't check overflow [calcite]

2023-10-25 Thread via GitHub
mihaibudiu commented on PR #3481: URL: https://github.com/apache/calcite/pull/3481#issuecomment-1780209523 I have updated the PR and reenabled the test that was disabled. I have also discovered a lot of related broken tests in SqlOperatorTest, and I re-enabled many of them (but not all).

Re: [PR] [CALCITE-129] Support recursive WITH queries [calcite]

2023-10-25 Thread via GitHub
HanumathRao commented on PR #3480: URL: https://github.com/apache/calcite/pull/3480#issuecomment-1780163695 > Nice work @HanumathRao ! I have left some (minor) comments. I'm not the biggest expert on the parser and validator, so I'd prefer if someone else would take a look at that part.

Re: [PR] [CALCITE-129] Support recursive WITH queries [calcite]

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

Re: [PR] [CALCITE-5918] Add MAP function (enabled in Spark library) [calcite]

2023-10-25 Thread via GitHub
chucheng92 commented on code in PR #3459: URL: https://github.com/apache/calcite/pull/3459#discussion_r1372215059 ## core/src/main/java/org/apache/calcite/prepare/LixToRelTranslator.java: ## @@ -97,7 +97,7 @@ public RelNode translate(Queryable queryable) { public RelNode

Re: [PR] [CALCITE-5918] Add MAP function (enabled in Spark library) [calcite]

2023-10-25 Thread via GitHub
chucheng92 commented on code in PR #3459: URL: https://github.com/apache/calcite/pull/3459#discussion_r1372215059 ## core/src/main/java/org/apache/calcite/prepare/LixToRelTranslator.java: ## @@ -97,7 +97,7 @@ public RelNode translate(Queryable queryable) { public RelNode

Re: [PR] [CALCITE-5918] Add MAP function (enabled in Spark library) [calcite]

2023-10-25 Thread via GitHub
chucheng92 commented on code in PR #3459: URL: https://github.com/apache/calcite/pull/3459#discussion_r1372215059 ## core/src/main/java/org/apache/calcite/prepare/LixToRelTranslator.java: ## @@ -97,7 +97,7 @@ public RelNode translate(Queryable queryable) { public RelNode

Re: [PR] [CALCITE-5918] Add MAP function (enabled in Spark library) [calcite]

2023-10-25 Thread via GitHub
chucheng92 commented on code in PR #3459: URL: https://github.com/apache/calcite/pull/3459#discussion_r1372215059 ## core/src/main/java/org/apache/calcite/prepare/LixToRelTranslator.java: ## @@ -97,7 +97,7 @@ public RelNode translate(Queryable queryable) { public RelNode

Re: [PR] [CALCITE-5918] Add MAP function (enabled in Spark library) [calcite]

2023-10-25 Thread via GitHub
chucheng92 commented on code in PR #3459: URL: https://github.com/apache/calcite/pull/3459#discussion_r1372215059 ## core/src/main/java/org/apache/calcite/prepare/LixToRelTranslator.java: ## @@ -97,7 +97,7 @@ public RelNode translate(Queryable queryable) { public RelNode

Re: [PR] [CALCITE-5918] Add MAP function (enabled in Spark library) [calcite]

2023-10-25 Thread via GitHub
chucheng92 commented on code in PR #3459: URL: https://github.com/apache/calcite/pull/3459#discussion_r1372215059 ## core/src/main/java/org/apache/calcite/prepare/LixToRelTranslator.java: ## @@ -97,7 +97,7 @@ public RelNode translate(Queryable queryable) { public RelNode

Re: [PR] [CALCITE-5918] Add MAP function (enabled in Spark library) [calcite]

2023-10-25 Thread via GitHub
chucheng92 commented on code in PR #3459: URL: https://github.com/apache/calcite/pull/3459#discussion_r1372215059 ## core/src/main/java/org/apache/calcite/prepare/LixToRelTranslator.java: ## @@ -97,7 +97,7 @@ public RelNode translate(Queryable queryable) { public RelNode

Re: [PR] [CALCITE-5921] SqlOperatorFixture.checkFails and checkAggFails don't check runtime failure (follow-up) [calcite]

2023-10-25 Thread via GitHub
rubenada commented on code in PR #3482: URL: https://github.com/apache/calcite/pull/3482#discussion_r1372199162 ## core/src/test/java/org/apache/calcite/test/SqlOperatorUnparseTest.java: ## @@ -99,6 +99,11 @@ String rewrite(String sql) throws SqlParseException { } } +

Re: [PR] [CALCITE-5921] SqlOperatorFixture.checkFails and checkAggFails don't check runtime failure (follow-up) [calcite]

2023-10-25 Thread via GitHub
rubenada commented on code in PR #3482: URL: https://github.com/apache/calcite/pull/3482#discussion_r1372199162 ## core/src/test/java/org/apache/calcite/test/SqlOperatorUnparseTest.java: ## @@ -99,6 +99,11 @@ String rewrite(String sql) throws SqlParseException { } } +

Re: [PR] [CALCITE-6052] SqlImplementor writes REAL, FLOAT, and DOUBLE literals as DECIMAL literals [calcite]

2023-10-25 Thread via GitHub
julianhyde commented on code in PR #3472: URL: https://github.com/apache/calcite/pull/3472#discussion_r1372200064 ## site/_docs/reference.md: ## @@ -2693,7 +2693,7 @@ BigQuery's type system uses confusingly different names for types and functions: | m p | CONCAT_WS(separator,

Re: [PR] [CALCITE-6052] SqlImplementor writes REAL, FLOAT, and DOUBLE literals as DECIMAL literals [calcite]

2023-10-25 Thread via GitHub
julianhyde commented on code in PR #3472: URL: https://github.com/apache/calcite/pull/3472#discussion_r1372194976 ## site/_docs/reference.md: ## @@ -1158,8 +1158,8 @@ name will have been converted to upper case also. | BIGINT | 8 byte signed integer | Range is

Re: [PR] [CALCITE-5921] SqlOperatorFixture.checkFails and checkAggFails don't check runtime failure (follow-up) [calcite]

2023-10-25 Thread via GitHub
mihaibudiu commented on code in PR #3482: URL: https://github.com/apache/calcite/pull/3482#discussion_r1372150912 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -919,8 +919,8 @@ void testCastIntervalToInterval(CastType castType, SqlOperatorFixture

Re: [PR] [CALCITE-5990] Explicit cast to numeric type doesn't check overflow [calcite]

2023-10-25 Thread via GitHub
mihaibudiu commented on PR #3481: URL: https://github.com/apache/calcite/pull/3481#issuecomment-1779805578 I will update this PR to enable all the disabled test. Will send a new commit today. -- This is an automated message from the Apache Git Service. To respond to the message, please

[calcite-avatica] branch main updated: [CALCITE-6034] Add isAutoIncrement and isGenerated args to MetaColumn constructor

2023-10-25 Thread tjbanghart
This is an automated email from the ASF dual-hosted git repository. tjbanghart 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 519d1ceeb [CALCITE-6034] Add

Re: [PR] [CALCITE-6034] Add isAutoIncrement and isGenerated arguments to MetaColumn constructor [calcite-avatica]

2023-10-25 Thread via GitHub
tjbanghart merged PR #229: URL: https://github.com/apache/calcite-avatica/pull/229 -- 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-5918] Add MAP function (enabled in Spark library) [calcite]

2023-10-25 Thread via GitHub
tanclary commented on code in PR #3459: URL: https://github.com/apache/calcite/pull/3459#discussion_r1371982252 ## core/src/main/java/org/apache/calcite/prepare/LixToRelTranslator.java: ## @@ -97,7 +97,7 @@ public RelNode translate(Queryable queryable) { public RelNode

Re: [PR] [CALCITE-5949] RexExecutable should return unchanged original expressions when it fails [calcite]

2023-10-25 Thread via GitHub
rubenada commented on PR #3390: URL: https://github.com/apache/calcite/pull/3390#issuecomment-1779348238 @libenchao , considering that we are approaching the RC deadline (it would be sad to not include this on it); in case @arkanovicz cannot respond in 24h, I'll create a separate PR

Re: [PR] [CALCITE-5921] SqlOperatorFixture.checkFails and checkAggFails don't check runtime failure (follow-up) [calcite]

2023-10-25 Thread via GitHub
rubenada merged PR #3482: URL: https://github.com/apache/calcite/pull/3482 -- 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-5921] SqlOperatorFixture.checkFails and checkAggFails don't check runtime failure (follow-up)

2023-10-25 Thread rubenql
This is an automated email from the ASF dual-hosted git repository. rubenql 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 345961a9d2 [CALCITE-5921]

Re: [PR] [CALCITE-5921] SqlOperatorFixture.checkFails and checkAggFails don't check runtime failure (follow-up) [calcite]

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

Re: [PR] [CALCITE-5918] Add MAP function (enabled in Spark library) [calcite]

2023-10-25 Thread via GitHub
chucheng92 commented on PR #3459: URL: https://github.com/apache/calcite/pull/3459#issuecomment-1779211043 hi, @tanclary Sorry to pin you, I have solved the comments. could you help to re-check it? -- This is an automated message from the Apache Git Service. To respond to the message,

Re: [PR] [CALCITE-5990] Explicit cast to numeric type doesn't check overflow [calcite]

2023-10-25 Thread via GitHub
rubenada commented on PR #3481: URL: https://github.com/apache/calcite/pull/3481#issuecomment-1778916330 @mihaibudiu do we need to update this PR to re-enable the test that was disabled on CALCITE-5921? -- This is an automated message from the Apache Git Service. To respond to the

Re: [PR] [CALCITE-5921] SqlOperatorFixture.checkFails and checkAggFails don't check runtime failure [calcite]

2023-10-25 Thread via GitHub
rubenada commented on PR #3412: URL: https://github.com/apache/calcite/pull/3412#issuecomment-1778902006 Closing this one in favor of https://github.com/apache/calcite/pull/3471 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub

Re: [PR] [CALCITE-5921] SqlOperatorFixture.checkFails and checkAggFails don't check runtime failure [calcite]

2023-10-25 Thread via GitHub
rubenada closed pull request #3412: [CALCITE-5921] SqlOperatorFixture.checkFails and checkAggFails don't check runtime failure URL: https://github.com/apache/calcite/pull/3412 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and

[calcite] branch main updated: [CALCITE-5921] SqlOperatorFixture.checkFails and checkAggFails don't check runtime failure

2023-10-25 Thread rubenql
This is an automated email from the ASF dual-hosted git repository. rubenql 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 0bec957071 [CALCITE-5921]

Re: [PR] [CALCITE-5921] SqlOperatorFixture.checkFails and checkAggFails don't check runtime failure [calcite]

2023-10-25 Thread via GitHub
rubenada merged PR #3471: URL: https://github.com/apache/calcite/pull/3471 -- 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-5921] SqlOperatorFixture.checkFails and checkAggFails don't check runtime failure [calcite]

2023-10-25 Thread via GitHub
rubenada commented on PR #3471: URL: https://github.com/apache/calcite/pull/3471#issuecomment-177816 LGTM -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To

Re: [PR] [CALCITE-129] Support recursive WITH queries [calcite]

2023-10-25 Thread via GitHub
rubenada commented on PR #3480: URL: https://github.com/apache/calcite/pull/3480#issuecomment-1778712954 Nice work @HanumathRao ! I have left some (minor) comments. I'm not the biggest expert on the parser and validator, so I'd prefer if someone else would take a look at that part.

Re: [PR] [CALCITE-129] Support recursive WITH queries [calcite]

2023-10-25 Thread via GitHub
rubenada commented on code in PR #3480: URL: https://github.com/apache/calcite/pull/3480#discussion_r1371284083 ## core/src/test/java/org/apache/calcite/test/enumerable/EnumerableRepeatUnionTest.java: ## @@ -70,6 +81,47 @@ class EnumerableRepeatUnionTest {

Re: [PR] [CALCITE-129] Support recursive WITH queries [calcite]

2023-10-25 Thread via GitHub
rubenada commented on code in PR #3480: URL: https://github.com/apache/calcite/pull/3480#discussion_r1371279349 ## core/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java: ## @@ -3774,6 +3791,48 @@ protected RelRoot convertQueryRecursive(SqlNode query, boolean

Re: [PR] [CALCITE-129] Support recursive WITH queries [calcite]

2023-10-25 Thread via GitHub
rubenada commented on code in PR #3480: URL: https://github.com/apache/calcite/pull/3480#discussion_r1371257262 ## core/src/test/java/org/apache/calcite/test/enumerable/EnumerableRepeatUnionTest.java: ## @@ -45,6 +45,17 @@ */ class EnumerableRepeatUnionTest { + @Test void

Re: [PR] [CALCITE-6065] Add HEX and UNHEX functions (enabled in Hive and Spark libraries) [calcite]

2023-10-25 Thread via GitHub
macroguo-ghy commented on code in PR #3479: URL: https://github.com/apache/calcite/pull/3479#discussion_r1371217305 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -4520,22 +4520,87 @@ void testBitGetFunc(SqlOperatorFixture f, String functionName)