Re: [PR] [CALCITE-6218] RelToSqlConverter fails to convert correlated lateral joins [calcite]

2024-02-09 Thread via GitHub
YiwenWu commented on PR #3656: URL: https://github.com/apache/calcite/pull/3656#issuecomment-1936821427 > fix the problem of lateral field not exists。 @JiajunBernoulli Happy New Year, I think this PR only deals with the problem of fields not existing. the optimization of lateral

Re: [PR] [CALCITE-6252] BigQuery FORMAT_DATE uses the wrong calendar for Julian dates [calcite]

2024-02-09 Thread via GitHub
mihaibudiu commented on code in PR #3680: URL: https://github.com/apache/calcite/pull/3680#discussion_r1484933501 ## core/src/main/java/org/apache/calcite/util/format/FormatElementEnum.java: ## @@ -57,8 +59,17 @@ public enum FormatElementEnum implements FormatElement { },

Re: [PR] [CALCITE-6252] BigQuery FORMAT_DATE uses the wrong calendar for Julian dates [calcite]

2024-02-09 Thread via GitHub
mihaibudiu commented on code in PR #3680: URL: https://github.com/apache/calcite/pull/3680#discussion_r1484933365 ## core/src/main/java/org/apache/calcite/util/format/FormatElementEnum.java: ## @@ -281,9 +301,9 @@ static Work get() { /** Uses Locale.US instead of

Re: [PR] [CALCITE-6252] BigQuery FORMAT_DATE uses the wrong calendar for Julian dates [calcite]

2024-02-09 Thread via GitHub
YiwenWu commented on code in PR #3680: URL: https://github.com/apache/calcite/pull/3680#discussion_r1484932837 ## core/src/main/java/org/apache/calcite/util/format/FormatElementEnum.java: ## @@ -57,8 +59,17 @@ public enum FormatElementEnum implements FormatElement { },

Re: [PR] [CALCITE-6250] Add hints with restrictions to MongoDB adapter documentation [calcite]

2024-02-09 Thread via GitHub
JiajunBernoulli commented on PR #3676: URL: https://github.com/apache/calcite/pull/3676#issuecomment-1936795096 FYI: https://calcite.apache.org/develop/ -- 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] Upgrade Cassandra to 4.1.3 and DataStax driver for Cassandra to 4.17.0 [calcite]

2024-02-09 Thread via GitHub
JiajunBernoulli commented on PR #3670: URL: https://github.com/apache/calcite/pull/3670#issuecomment-1936792880 > @JiajunBernoulli, do you have any other comments for this PR? > > I plan to merge it sometime this weekend if there are no concerns. No, please squash them before

Re: [PR] [CALCITE-6251] innerEnumerator in EnumerableDefaults::correlateBatchJoin is not closed [calcite]

2024-02-09 Thread via GitHub
JiajunBernoulli commented on code in PR #3675: URL: https://github.com/apache/calcite/pull/3675#discussion_r1484922292 ## linq4j/src/main/java/org/apache/calcite/linq4j/EnumerableDefaults.java: ## @@ -1799,11 +1801,16 @@ private boolean innerHasNext() { i = -1;

Re: [PR] [CALCITE-6252] BigQuery FORMAT_DATE uses the wrong calendar for Julian dates [calcite]

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

Re: [PR] [CALCITE-6252] BigQuery FORMAT_DATE uses the wrong calendar for Julian dates [calcite]

2024-02-09 Thread via GitHub
sonarcloud[bot] commented on PR #3680: URL: https://github.com/apache/calcite/pull/3680#issuecomment-1936742484 ## [![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,

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

2024-02-09 Thread via GitHub
mihaibudiu opened a new pull request, #238: URL: https://github.com/apache/calcite-avatica/pull/238 (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

Re: [PR] [CALCITE-6210] Cast to VARBINARY causes an assertion failure [calcite]

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

Re: [PR] Clarify semantics of SAFE* functions [calcite]

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

Re: [PR] [Calcite 6244] Allow `Expressions#constant` to construct Immutable class models [calcite]

2024-02-09 Thread via GitHub
mihaibudiu commented on PR #3681: URL: https://github.com/apache/calcite/pull/3681#issuecomment-1936411407 The checker framework has some complaints about your code, which you can find as code review in the PR. -- This is an automated message from the Apache Git Service. To respond to

(calcite) 01/01: [CALCITE-6247] BigQuery FORMAT_DATE function handles incorrectly the %e format specifier

2024-02-09 Thread mbudiu
This is an automated email from the ASF dual-hosted git repository. mbudiu pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/calcite.git commit df5459250a3c2495a4defc0c7fb6b56f213d35ea Author: Mihai Budiu AuthorDate: Fri Feb 9 10:21:58 2024 -0800

(calcite) branch main updated (36532c7e23 -> df5459250a)

2024-02-09 Thread mbudiu
This is an automated email from the ASF dual-hosted git repository. mbudiu pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/calcite.git omit 36532c7e23 Fixes suggested by code review omit 09420001fb [CALCITE-6247] BigQuery FORMAT_DATE function handles

(calcite) branch main updated (b64dcff73d -> 36532c7e23)

2024-02-09 Thread mbudiu
This is an automated email from the ASF dual-hosted git repository. mbudiu pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/calcite.git from b64dcff73d [CALCITE-6256] Incorrect rendering of HTML on InnoDB adapter page new 09420001fb [CALCITE-6247]

(calcite) 01/02: [CALCITE-6247] BigQuery FORMAT_DATE function handles incorrectly the %e format specifier

2024-02-09 Thread mbudiu
This is an automated email from the ASF dual-hosted git repository. mbudiu pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/calcite.git commit 09420001fb2ae2a4c7daf732efd0799f98e24627 Author: Mihai Budiu AuthorDate: Thu Feb 8 15:31:38 2024 -0800

(calcite) 02/02: Fixes suggested by code review

2024-02-09 Thread mbudiu
This is an automated email from the ASF dual-hosted git repository. mbudiu pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/calcite.git commit 36532c7e23dbdc004eaf2975ce5c54ef51f3d282 Author: Mihai Budiu AuthorDate: Thu Feb 8 18:30:50 2024 -0800 Fixes

Re: [PR] [CALCITE-6247] BigQuery FORMAT_DATE function handles incorrectly the %e format specifier [calcite]

2024-02-09 Thread via GitHub
mihaibudiu merged PR #3678: URL: https://github.com/apache/calcite/pull/3678 -- 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:

[PR] [Calcite 6244] Allow `Expressions#constant` to construct Immutable class models [calcite]

2024-02-09 Thread via GitHub
WegdanGhazi opened a new pull request, #3681: URL: https://github.com/apache/calcite/pull/3681 To use [Expressions#constant](https://github.com/apache/calcite/blob/e17098d47f3c31e4d90cc17e6e1da1175bf49ae4/linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java#L540) with

Re: [PR] [CALCITE-6032] Multilevel correlated query is failing in RelDecorrela… [calcite]

2024-02-09 Thread via GitHub
rubenada commented on PR #3640: URL: https://github.com/apache/calcite/pull/3640#issuecomment-1935544748 Thanks for your patience and the thorough explanation @HanumathRao , I really appreciate it. I understand a bit more the situation now... and I beg to differ. IMHO fix 2 is