You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maksim Zhuravkov (Jira)" <ji...@apache.org> on 2023/01/26 09:57:00 UTC

[jira] [Updated] (IGNITE-18645) Sql. Type System. Always add explicit casts to dynamic parameters.

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

Maksim Zhuravkov updated IGNITE-18645:
--------------------------------------
    Description: 
Current implementation of dynamic parameters does not allow to reject plans that may fail runtime.
 * dynamic parameters must be casted to appropriate types depending on the current context
 * in order to make type inference/type coercion possible use should use types of concrete values of dynamic parameters specified with a query.

  was:
Current implementation of dynamic parameters does not allow to reject plans that may fail  runtime.
 * dynamic parameters must be casted to appropriate types depending on the current context
 * in order to make type inference/type coercion possible use should use types of concrete values of dynamic parameters specified with a query.


> Sql. Type System. Always add explicit casts to dynamic parameters.
> ------------------------------------------------------------------
>
>                 Key: IGNITE-18645
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18645
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Maksim Zhuravkov
>            Priority: Major
>              Labels: calcite3-required, ignite-3
>
> Current implementation of dynamic parameters does not allow to reject plans that may fail runtime.
>  * dynamic parameters must be casted to appropriate types depending on the current context
>  * in order to make type inference/type coercion possible use should use types of concrete values of dynamic parameters specified with a query.



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