Re: [PR] [CALCITE-6198] Add TO_TIMESTAMP_LTZ function (enabled in Snowflake li… [calcite]

2024-02-12 Thread via GitHub
caicancai commented on code in PR #3631: URL: https://github.com/apache/calcite/pull/3631#discussion_r1486012354 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -8747,6 +8747,55 @@ private void testCurrentDateFunc(Pair pair) { } } + /**

Re: [PR] [CALCITE-6198] Add TO_TIMESTAMP_LTZ function (enabled in Snowflake li… [calcite]

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

Re: [PR] [CALCITE-6198] Add TO_TIMESTAMP_LTZ function (enabled in Snowflake li… [calcite]

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

Re: [PR] [CALCITE-6198] Add TO_TIMESTAMP_LTZ function (enabled in Snowflake li… [calcite]

2024-01-18 Thread via GitHub
tanclary commented on code in PR #3631: URL: https://github.com/apache/calcite/pull/3631#discussion_r1457870070 ## core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java: ## @@ -1610,6 +1610,36 @@ private static RelDataType

Re: [PR] [CALCITE-6198] Add TO_TIMESTAMP_LTZ function (enabled in Snowflake li… [calcite]

2024-01-18 Thread via GitHub
tanclary commented on code in PR #3631: URL: https://github.com/apache/calcite/pull/3631#discussion_r1457869015 ## core/src/main/java/org/apache/calcite/sql/SqlKind.java: ## @@ -457,6 +457,9 @@ public enum SqlKind { /** {@code TIME_SUB} function (BigQuery). */ TIME_SUB,

Re: [PR] [CALCITE-6198] Add TO_TIMESTAMP_LTZ function (enabled in Snowflake li… [calcite]

2024-01-18 Thread via GitHub
tanclary commented on code in PR #3631: URL: https://github.com/apache/calcite/pull/3631#discussion_r1457868807 ## core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java: ## @@ -4461,6 +4461,51 @@ public static int time(long timestampMillis, String timeZone) {

Re: [PR] [CALCITE-6198] Add TO_TIMESTAMP_LTZ function (enabled in Snowflake li… [calcite]

2024-01-18 Thread via GitHub
tanclary commented on code in PR #3631: URL: https://github.com/apache/calcite/pull/3631#discussion_r1457830260 ## site/_docs/reference.md: ## @@ -2746,7 +2746,7 @@ In the following: | h s | FORMAT_NUMBER(value, decimalVal) | Formats the number *value* like

Re: [PR] [CALCITE-6198] Add TO_TIMESTAMP_LTZ function (enabled in Snowflake li… [calcite]

2024-01-18 Thread via GitHub
tanclary commented on code in PR #3631: URL: https://github.com/apache/calcite/pull/3631#discussion_r1457828057 ## core/src/main/java/org/apache/calcite/adapter/enumerable/RexImpTable.java: ## @@ -2480,6 +2484,32 @@ private static class RegexpReplaceImplementor extends

Re: [PR] [CALCITE-6198] Add TO_TIMESTAMP_LTZ function (enabled in Snowflake li… [calcite]

2024-01-18 Thread via GitHub
tanclary commented on code in PR #3631: URL: https://github.com/apache/calcite/pull/3631#discussion_r1457825819 ## core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java: ## @@ -4461,6 +4461,51 @@ public static int time(long timestampMillis, String timeZone) {

Re: [PR] [CALCITE-6198] Add TO_TIMESTAMP_LTZ function (enabled in Snowflake li… [calcite]

2024-01-18 Thread via GitHub
tanclary commented on code in PR #3631: URL: https://github.com/apache/calcite/pull/3631#discussion_r1457824410 ## core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java: ## @@ -4461,6 +4461,51 @@ public static int time(long timestampMillis, String timeZone) {

Re: [PR] [CALCITE-6198] Add TO_TIMESTAMP_LTZ function (enabled in Snowflake li… [calcite]

2024-01-17 Thread via GitHub
julianhyde commented on code in PR #3631: URL: https://github.com/apache/calcite/pull/3631#discussion_r1456238725 ## core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java: ## @@ -1610,6 +1610,36 @@ private static RelDataType

Re: [PR] [CALCITE-6198] Add TO_TIMESTAMP_LTZ function (enabled in Snowflake li… [calcite]

2024-01-17 Thread via GitHub
mihaibudiu commented on PR #3631: URL: https://github.com/apache/calcite/pull/3631#issuecomment-1896331624 Seems that the "Error Prone" check is unhappy. -- 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-6198] Add TO_TIMESTAMP_LTZ function (enabled in Snowflake li… [calcite]

2024-01-16 Thread via GitHub
JiajunBernoulli commented on PR #3631: URL: https://github.com/apache/calcite/pull/3631#issuecomment-1894805047 Does CI stability failed? https://github.com/apache/calcite/actions/runs/7549299627/attempts/1?pr=3631 -- This is an automated message from the Apache Git Service. To respond

[PR] [CALCITE-6198] Add TO_TIMESTAMP_LTZ function (enabled in Snowflake li… [calcite]

2024-01-16 Thread via GitHub
tanclary opened a new pull request, #3631: URL: https://github.com/apache/calcite/pull/3631 …brary) -- 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: