[jira] [Updated] (CALCITE-6259) The implementation of the Log library operator does not match the actual dialect behavior.

2024-02-12 Thread EveyWu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] EveyWu updated CALCITE-6259: Attachment: (was: image-2024-02-12-21-52-45-462.png) > The implementation of the Log library

[jira] [Comment Edited] (CALCITE-6259) The implementation of the Log library operator does not match the actual dialect behavior.

2024-02-12 Thread Caican Cai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17816858#comment-17816858 ] Caican Cai edited comment on CALCITE-6259 at 2/13/24 3:39 AM: --

[jira] [Comment Edited] (CALCITE-6259) The implementation of the Log library operator does not match the actual dialect behavior.

2024-02-12 Thread Caican Cai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17816858#comment-17816858 ] Caican Cai edited comment on CALCITE-6259 at 2/13/24 3:37 AM: --

[jira] [Commented] (CALCITE-6259) The implementation of the Log library operator does not match the actual dialect behavior.

2024-02-12 Thread Caican Cai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17816859#comment-17816859 ] Caican Cai commented on CALCITE-6259: - [~tanclary] Thank you for reminding me > The implementation

[jira] [Updated] (CALCITE-6259) The implementation of the Log library operator does not match the actual dialect behavior.

2024-02-12 Thread Caican Cai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caican Cai updated CALCITE-6259: Description: The implementation of the Log library operator does not match the actual dialect

[jira] [Commented] (CALCITE-6259) The implementation of the Log library operator does not match the actual dialect behavior.

2024-02-12 Thread Caican Cai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17816858#comment-17816858 ] Caican Cai commented on CALCITE-6259: - [~julianhyde] There is no log2 function in postgres, but as

[jira] [Updated] (CALCITE-6259) The implementation of the Log library operator does not match the actual dialect behavior.

2024-02-12 Thread Caican Cai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caican Cai updated CALCITE-6259: Summary: The implementation of the Log library operator does not match the actual dialect

[jira] [Commented] (CALCITE-6239) Add a postgis dialect that supports ST functions

2024-02-12 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17816823#comment-17816823 ] Julian Hyde commented on CALCITE-6239: -- I reviewed the PR, looks pretty good. However, the change

[jira] [Commented] (CALCITE-6248) Illegal dates are accepted by casts

2024-02-12 Thread Mihai Budiu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17816810#comment-17816810 ] Mihai Budiu commented on CALCITE-6248: -- This PR will require changes in both Avatica and Calcite

[jira] [Updated] (CALCITE-6248) Illegal dates are accepted by casts

2024-02-12 Thread Mihai Budiu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mihai Budiu updated CALCITE-6248: - Component/s: core > Illegal dates are accepted by casts > ---

[jira] [Commented] (CALCITE-6210) Cast to VARBINARY causes an assertion failure

2024-02-12 Thread Mihai Budiu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17816797#comment-17816797 ] Mihai Budiu commented on CALCITE-6210: -- The problem with my approach is that other dialects of SQL

[jira] [Commented] (CALCITE-6262) CURRENT_TIMESTAMP(P) ignores DataTypeSystem#getMaxPrecision

2024-02-12 Thread Tanner Clary (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17816793#comment-17816793 ] Tanner Clary commented on CALCITE-6262: --- Good find, feel free to tag me in review. >

[jira] [Created] (CALCITE-6262) CURRENT_TIMESTAMP(P) ignores DataTypeSystem#getMaxPrecision

2024-02-12 Thread Adam Kennedy (Jira)
Adam Kennedy created CALCITE-6262: - Summary: CURRENT_TIMESTAMP(P) ignores DataTypeSystem#getMaxPrecision Key: CALCITE-6262 URL: https://issues.apache.org/jira/browse/CALCITE-6262 Project: Calcite

[jira] [Resolved] (CALCITE-6250) Limitations of MongoDB adapter are not documented

2024-02-12 Thread Mihai Budiu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mihai Budiu resolved CALCITE-6250. -- Fix Version/s: 1.37.0 Resolution: Fixed Fixed in

[jira] [Commented] (CALCITE-6259) Return the result with the log10 and log functions of argument 0

2024-02-12 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17816776#comment-17816776 ] Julian Hyde commented on CALCITE-6259: -- 1. Whatever behavior we choose, let's make sure the

[jira] [Commented] (CALCITE-6261) RelBuilder.aggregate() field pruning does not use permuted field indices when used with force project and duplicate agg calls

2024-02-12 Thread Niels Pardon (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17816718#comment-17816718 ] Niels Pardon commented on CALCITE-6261: --- I'm planning on submitting a PR. I just need to go

[jira] [Commented] (CALCITE-6261) RelBuilder.aggregate() field pruning does not use permuted field indices when used with force project and duplicate agg calls

2024-02-12 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17816710#comment-17816710 ] Julian Hyde commented on CALCITE-6261: -- Thanks for logging this; and I agree that it looks like a

[jira] [Commented] (CALCITE-6259) Return the result with the log10 and log functions of argument 0

2024-02-12 Thread Tanner Clary (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17816675#comment-17816675 ] Tanner Clary commented on CALCITE-6259: --- [~caicancai] Thanks for filing this issue. I think the

[jira] [Created] (CALCITE-6261) RelBuilder.aggregate() field pruning does not use permuted field indices when used with force project and duplicate agg calls

2024-02-12 Thread Niels Pardon (Jira)
Niels Pardon created CALCITE-6261: - Summary: RelBuilder.aggregate() field pruning does not use permuted field indices when used with force project and duplicate agg calls Key: CALCITE-6261 URL:

[jira] [Updated] (CALCITE-6260) Add already implemented functions in Spark library

2024-02-12 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-6260: Labels: pull-request-available (was: ) > Add already implemented functions in Spark

[jira] [Created] (CALCITE-6260) Add already implemented functions in Spark library

2024-02-12 Thread EveyWu (Jira)
EveyWu created CALCITE-6260: Summary: Add already implemented functions in Spark library Key: CALCITE-6260 URL: https://issues.apache.org/jira/browse/CALCITE-6260 Project: Calcite Issue Type:

[jira] [Commented] (CALCITE-6259) Return the result with the log10 and log functions of argument 0

2024-02-12 Thread Caican Cai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17816632#comment-17816632 ] Caican Cai commented on CALCITE-6259: - [~eveywu] Thank you for your reply . Yes, but the log

[jira] [Commented] (CALCITE-6259) Return the result with the log10 and log functions of argument 0

2024-02-12 Thread EveyWu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17816612#comment-17816612 ] EveyWu commented on CALCITE-6259: -- log10 is defined in the SqlStdOperatorTable,  In my opinion, there

[jira] [Updated] (CALCITE-6259) Return the result with the log10 and log functions of argument 0

2024-02-12 Thread EveyWu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] EveyWu updated CALCITE-6259: Attachment: image-2024-02-12-21-52-45-462.png > Return the result with the log10 and log functions of

[jira] [Commented] (CALCITE-6259) Return the result with the log10 and log functions of argument 0

2024-02-12 Thread Caican Cai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17816572#comment-17816572 ] Caican Cai commented on CALCITE-6259: - Another thing to consider here is that log10(0) results may

[jira] [Updated] (CALCITE-6250) Limitations of MongoDB adapter are not documented

2024-02-12 Thread Corvin Kuebler (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Corvin Kuebler updated CALCITE-6250: Summary: Limitations of MongoDB adapter are not documented (was: Add hints with

[jira] [Resolved] (CALCITE-6251) innerEnumerator in EnumerableDefaults::correlateBatchJoin is not closed

2024-02-12 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L resolved CALCITE-6251. Fix Version/s: 1.37.0 Resolution: Fixed Fixed via