Re: [PR] [CALCITE-6248] Illegal dates are accepted by casts [calcite-avatica]

2024-04-01 Thread via GitHub
mihaibudiu merged PR #238: URL: https://github.com/apache/calcite-avatica/pull/238 -- 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-6248] Illegal dates are accepted by casts [calcite-avatica]

2024-04-01 Thread via GitHub
mihaibudiu commented on PR #238: URL: https://github.com/apache/calcite-avatica/pull/238#issuecomment-2030123366 If CI passes I will merge this PR. -- 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

Re: [PR] [CALCITE-6248] Illegal dates are accepted by casts [calcite]

2024-04-01 Thread via GitHub
mihaibudiu merged PR #3708: URL: https://github.com/apache/calcite/pull/3708 -- 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-6248] Illegal dates are accepted by casts [calcite]

2024-03-31 Thread via GitHub
mihaibudiu commented on PR #3708: URL: https://github.com/apache/calcite/pull/3708#issuecomment-2028832938 I am thinking to merge this PR, since there isn't much to review, so we can proceed with Avatica. -- This is an automated message from the Apache Git Service. To respond to the

Re: [PR] [CALCITE-6248] Illegal dates are accepted by casts [calcite]

2024-03-29 Thread via GitHub
mihaibudiu commented on PR #3708: URL: https://github.com/apache/calcite/pull/3708#issuecomment-2027859740 This is ready for review, to enable migration to Avatica 1.25. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

Re: [PR] [CALCITE-6248] Illegal dates are accepted by casts [calcite-avatica]

2024-03-19 Thread via GitHub
mihaibudiu commented on code in PR #238: URL: https://github.com/apache/calcite-avatica/pull/238#discussion_r1531438930 ## core/src/main/java/org/apache/calcite/avatica/util/DateTimeUtils.java: ## @@ -739,6 +744,25 @@ private static int parseFraction(String v, int multiplier)

Re: [PR] [CALCITE-6248] Illegal dates are accepted by casts [calcite-avatica]

2024-03-19 Thread via GitHub
mihaibudiu commented on code in PR #238: URL: https://github.com/apache/calcite-avatica/pull/238#discussion_r1530647044 ## core/src/main/java/org/apache/calcite/avatica/util/DateTimeUtils.java: ## @@ -739,6 +744,25 @@ private static int parseFraction(String v, int multiplier)

Re: [PR] [CALCITE-6248] Illegal dates are accepted by casts [calcite-avatica]

2024-03-18 Thread via GitHub
YiwenWu commented on code in PR #238: URL: https://github.com/apache/calcite-avatica/pull/238#discussion_r1529579227 ## core/src/main/java/org/apache/calcite/avatica/util/DateTimeUtils.java: ## @@ -739,6 +744,25 @@ private static int parseFraction(String v, int multiplier) {

Re: [PR] [CALCITE-6248] Illegal dates are accepted by casts [calcite]

2024-03-02 Thread via GitHub
mihaibudiu commented on PR #3708: URL: https://github.com/apache/calcite/pull/3708#issuecomment-1975074074 I sent a message on the dev list about this. I still have to figure out how to do this. We need simultaneous changes to avatica and calcite to make this pass. -- This is an

Re: [PR] [CALCITE-6248] Illegal dates are accepted by casts [calcite]

2024-03-02 Thread via GitHub
JiajunBernoulli commented on PR #3708: URL: https://github.com/apache/calcite/pull/3708#issuecomment-1975071486 @mihaibudiu Maybe you can public test version in calcite-avatica. Then update calcite-avatica in calcite to test. -- This is an automated message from the Apache Git

Re: [PR] [CALCITE-6248] Illegal dates are accepted by casts [calcite]

2024-03-02 Thread via GitHub
mihaibudiu commented on code in PR #3708: URL: https://github.com/apache/calcite/pull/3708#discussion_r1509921263 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -1320,7 +1320,7 @@ void testCastStringToDateTime(CastType castType, SqlOperatorFixture

Re: [PR] [CALCITE-6248] Illegal dates are accepted by casts [calcite]

2024-03-02 Thread via GitHub
mihaibudiu commented on code in PR #3708: URL: https://github.com/apache/calcite/pull/3708#discussion_r1509921238 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -1329,8 +1329,14 @@ void testCastStringToDateTime(CastType castType,

Re: [PR] [CALCITE-6248] Illegal dates are accepted by casts [calcite]

2024-03-01 Thread via GitHub
YiwenWu commented on code in PR #3708: URL: https://github.com/apache/calcite/pull/3708#discussion_r1509906302 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -1329,8 +1329,14 @@ void testCastStringToDateTime(CastType castType, SqlOperatorFixture

Re: [PR] [CALCITE-6248] Illegal dates are accepted by casts [calcite]

2024-02-29 Thread via GitHub
mihaibudiu commented on PR #3708: URL: https://github.com/apache/calcite/pull/3708#issuecomment-1972180981 It looks like this CI failure is to be expected, since it fails with Avatica main. That should pass once Avatica main contains the corresponding fix. -- This is an automated message

Re: [PR] [CALCITE-6248] Illegal dates are accepted by casts [calcite]

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

Re: [PR] [CALCITE-6248] Illegal dates are accepted by casts [calcite]

2024-02-29 Thread via GitHub
mihaibudiu commented on PR #3708: URL: https://github.com/apache/calcite/pull/3708#issuecomment-1972147353 This is the PR which is being reverted in this one: https://github.com/apache/calcite/pull/3685 -- This is an automated message from the Apache Git Service. To respond to the

Re: [PR] [CALCITE-6248] Illegal dates are accepted by casts [calcite]

2024-02-13 Thread via GitHub
mihaibudiu merged PR #3685: URL: https://github.com/apache/calcite/pull/3685 -- 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-6248] Illegal dates are accepted by casts [calcite]

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

Re: [PR] [CALCITE-6248] Illegal dates are accepted by casts [calcite-avatica]

2024-02-09 Thread via GitHub
mihaibudiu commented on PR #238: URL: https://github.com/apache/calcite-avatica/pull/238#issuecomment-1936454503 @zstan this builds on top of your previous fix for a similar issue with timestamps. -- This is an automated message from the Apache Git Service. To respond to the message,