You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Yury Gerzhedovich (Jira)" <ji...@apache.org> on 2022/12/27 13:14:00 UTC

[jira] [Updated] (IGNITE-18467) Sql. RexLiteral cache work incorrect for dynamic parameters in case nested function

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

Yury Gerzhedovich updated IGNITE-18467:
---------------------------------------
    Description: 
Type of dynamic parameters don't participate in forming cache key in case nested function.

It could be checked by the two queries in sequentially:
assertQuery("SELECT UPPER(TYPEOF( ? )").withParams(1).returns("INTEGER").check();
assertQuery("SELECT UPPER(TYPEOF( ? )").withParams(1d).returns("DOUBLE").check();

  was:
Type of dynamic parameters don't participate in forming cache key in case nested function.

It could be checked by the two queries in sequentially:
assertQuery("SELECT UPPER(TYPEOF(?))").withParams(1).returns("INTEGER").check();
assertQuery("SELECT UPPER(TYPEOF(?))").withParams(1d).returns("DOUBLE").check();


> Sql. RexLiteral cache work incorrect for dynamic parameters in case nested function 
> ------------------------------------------------------------------------------------
>
>                 Key: IGNITE-18467
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18467
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>            Reporter: Yury Gerzhedovich
>            Priority: Major
>              Labels: ignite-3
>
> Type of dynamic parameters don't participate in forming cache key in case nested function.
> It could be checked by the two queries in sequentially:
> assertQuery("SELECT UPPER(TYPEOF( ? )").withParams(1).returns("INTEGER").check();
> assertQuery("SELECT UPPER(TYPEOF( ? )").withParams(1d).returns("DOUBLE").check();



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