[ 
https://issues.apache.org/jira/browse/CALCITE-6684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mihai Budiu resolved CALCITE-6684.
----------------------------------
    Fix Version/s: 1.39.0
       Resolution: Fixed

Fixed in 
https://github.com/apache/calcite/commit/141dfd9cfd8b32102ce6942e076503041bf245f9
Thank you for the contribution, [~caicancai]

> Support Arrow filter pushdown conditions that have subexpressions of a 
> decimal type
> -----------------------------------------------------------------------------------
>
>                 Key: CALCITE-6684
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6684
>             Project: Calcite
>          Issue Type: New Feature
>            Reporter: Caican Cai
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.39.0
>
>
> When the arrow adapter executes the following SQL, an error will be reported
> {code:java}
>     String sql = "select \"decimalField\"\n"
>         + "from arrowdatatype\n"
>         + "where \"decimalField\" = 1.00";
> {code}
> error
> {code:java}
> Error while executing SQL "select "decimalField"
> from arrowdatatype
> where "decimalField" = 1.00": Invalid literal 1, type decimal
> java.sql.SQLException: Error while executing SQL "select "decimalField"
> from arrowdatatype
> where "decimalField" = 1.00": Invalid literal 1, type decimal
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to