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

Mihai Budiu resolved CALCITE-7118.
----------------------------------
    Fix Version/s: 1.41.0
       Resolution: Fixed

Fixed in 
[https://github.com/apache/calcite/commit/6f15426e81b5450d62f4c169ffac4cd8f27cf886]

Thank you for the fix [~chrisdennis] 

> Rex-to-Lix Translation fails to correctly truncate/pad RexDynamicParam values
> -----------------------------------------------------------------------------
>
>                 Key: CALCITE-7118
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7118
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Chris Dennis
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.41.0
>
>
> Rex-To-Lix translation doesn't insert truncate or pad (in the case of 
> `CHAR(N)` types) code when translating RexDynamicParam nodes. This can lead 
> to differences between native SQL execution and enumerable convention 
> executions when oversized or undersized values are used as parameters at 
> query execution time.



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

Reply via email to