Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-04-09 Thread via GitHub
YiwenWu commented on PR #3684: URL: https://github.com/apache/calcite/pull/3684#issuecomment-2044211803 > What is the status of this PR? @YiwenWu can you please rebase to eliminate the conflicts? Thank you, This PR is out of date and will be split into multiple PRs. I closed it. --

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-04-09 Thread via GitHub
YiwenWu closed pull request #3684: [CALCITE-6260] Add already implemented functions in Spark library URL: https://github.com/apache/calcite/pull/3684 -- 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

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-04-08 Thread via GitHub
mihaibudiu commented on PR #3684: URL: https://github.com/apache/calcite/pull/3684#issuecomment-2043741104 What is the status of this PR? @YiwenWu can you please rebase to eliminate the conflicts? Thank you, -- This is an automated message from the Apache Git Service. To respond to

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-02-21 Thread via GitHub
YiwenWu commented on PR #3684: URL: https://github.com/apache/calcite/pull/3684#issuecomment-1958460920 Thanks for the review, I will split this PR later. -- 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

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-02-21 Thread via GitHub
tanclary commented on code in PR #3684: URL: https://github.com/apache/calcite/pull/3684#discussion_r1498154787 ## core/src/main/java/org/apache/calcite/adapter/enumerable/RexImpTable.java: ## @@ -231,13 +233,15 @@ import static

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-02-21 Thread via GitHub
mihaibudiu commented on PR #3684: URL: https://github.com/apache/calcite/pull/3684#issuecomment-1957681165 This is turning into a very large PR. It probably should have been broken into 4 different PRs, one for each function to make it easier to review. -- This is an automated message

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

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

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-02-21 Thread via GitHub
YiwenWu commented on code in PR #3684: URL: https://github.com/apache/calcite/pull/3684#discussion_r1497521713 ## site/_docs/reference.md: ## @@ -2700,12 +2700,14 @@ In the following: | s | BIT_GET(value, position) | Returns the bit (0 or 1) value at the

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-02-21 Thread via GitHub
YiwenWu commented on code in PR #3684: URL: https://github.com/apache/calcite/pull/3684#discussion_r1497519634 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -2259,6 +2272,27 @@ private static void

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-02-21 Thread via GitHub
YiwenWu commented on code in PR #3684: URL: https://github.com/apache/calcite/pull/3684#discussion_r1497514526 ## core/src/main/java/org/apache/calcite/util/BuiltInMethod.java: ## @@ -468,6 +468,8 @@ public enum BuiltInMethod { String[].class),

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-02-21 Thread via GitHub
YiwenWu commented on code in PR #3684: URL: https://github.com/apache/calcite/pull/3684#discussion_r1497482552 ## core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java: ## @@ -1491,6 +1491,19 @@ public static String concatMultiWithNull(String... args) { public

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-02-21 Thread via GitHub
YiwenWu commented on code in PR #3684: URL: https://github.com/apache/calcite/pull/3684#discussion_r1497481966 ## core/src/main/java/org/apache/calcite/adapter/enumerable/RexImpTable.java: ## @@ -231,13 +233,15 @@ import static

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-02-21 Thread via GitHub
YiwenWu commented on code in PR #3684: URL: https://github.com/apache/calcite/pull/3684#discussion_r1497477187 ## core/src/main/java/org/apache/calcite/adapter/enumerable/RexImpTable.java: ## @@ -152,6 +152,7 @@ import static

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-02-20 Thread via GitHub
tanclary commented on code in PR #3684: URL: https://github.com/apache/calcite/pull/3684#discussion_r1488379478 ## core/src/main/java/org/apache/calcite/util/BuiltInMethod.java: ## @@ -468,6 +468,8 @@ public enum BuiltInMethod { String[].class),

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-02-20 Thread via GitHub
YiwenWu commented on code in PR #3684: URL: https://github.com/apache/calcite/pull/3684#discussion_r1495812154 ## babel/src/test/java/org/apache/calcite/test/BabelQuidemTest.java: ## @@ -131,6 +131,16 @@ public static void main(String[] args) throws Exception {

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-02-19 Thread via GitHub
mihaibudiu commented on code in PR #3684: URL: https://github.com/apache/calcite/pull/3684#discussion_r1495018416 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -2259,6 +2272,27 @@ private static void

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-02-19 Thread via GitHub
caicancai commented on code in PR #3684: URL: https://github.com/apache/calcite/pull/3684#discussion_r1494627130 ## site/_docs/reference.md: ## @@ -2700,12 +2700,14 @@ In the following: | s | BIT_GET(value, position) | Returns the bit (0 or 1) value at

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

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

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

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

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-02-18 Thread via GitHub
YiwenWu commented on code in PR #3684: URL: https://github.com/apache/calcite/pull/3684#discussion_r1493743738 ## core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java: ## @@ -1074,6 +1080,26 @@ static RelDataType deriveTypeSplit(SqlOperatorBinding

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-02-18 Thread via GitHub
YiwenWu commented on code in PR #3684: URL: https://github.com/apache/calcite/pull/3684#discussion_r1493743706 ## site/_docs/reference.md: ## @@ -2700,12 +2700,14 @@ In the following: | s | BIT_GET(value, position) | Returns the bit (0 or 1) value at the

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-02-18 Thread via GitHub
YiwenWu commented on code in PR #3684: URL: https://github.com/apache/calcite/pull/3684#discussion_r1493743574 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -2259,6 +2272,27 @@ private static void

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-02-18 Thread via GitHub
YiwenWu commented on code in PR #3684: URL: https://github.com/apache/calcite/pull/3684#discussion_r1493743503 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -2259,6 +2272,27 @@ private static void

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-02-18 Thread via GitHub
YiwenWu commented on code in PR #3684: URL: https://github.com/apache/calcite/pull/3684#discussion_r1493740036 ## site/_docs/reference.md: ## @@ -2700,12 +2700,14 @@ In the following: | s | BIT_GET(value, position) | Returns the bit (0 or 1) value at the

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

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

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-02-12 Thread via GitHub
YiwenWu commented on code in PR #3684: URL: https://github.com/apache/calcite/pull/3684#discussion_r1487094978 ## core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java: ## @@ -1074,6 +1080,26 @@ static RelDataType deriveTypeSplit(SqlOperatorBinding

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

2024-02-12 Thread via GitHub
mihaibudiu commented on code in PR #3684: URL: https://github.com/apache/calcite/pull/3684#discussion_r1486819673 ## babel/src/test/java/org/apache/calcite/test/BabelQuidemTest.java: ## @@ -131,6 +131,16 @@ public static void main(String[] args) throws Exception {

Re: [PR] [CALCITE-6260] Add already implemented functions in Spark library [calcite]

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