You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Konstantin Orlov (Jira)" <ji...@apache.org> on 2024/09/11 10:33:00 UTC

[jira] [Assigned] (IGNITE-23042) Sql. Forbid implicit casts between different type families

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

Konstantin Orlov reassigned IGNITE-23042:
-----------------------------------------

    Assignee: Konstantin Orlov

> Sql. Forbid implicit casts between different type families
> ----------------------------------------------------------
>
>                 Key: IGNITE-23042
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23042
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Pavel Pereslegin
>            Assignee: Konstantin Orlov
>            Priority: Major
>              Labels: ignite-3
>
> At the moment, the rules for implicit type conversion are not formalized. As a result, we allow implicit casting of types from different families everywhere (including for function operands, which can be confusing).
> We need to formalize the rules for safe implicit conversion and follow them.
> * Whether to allow implicit type casts (of which types) during DML from one table to another.
> * Whether to allow implicit casts in operations.
> * Whether to allow implicit casts for function operands.
> * ...
> *Update*
> During the discussion it was decided to forbid any implicit casts between different type families.



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