[ 
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)

Reply via email to