[
https://issues.apache.org/jira/browse/IGNITE-23042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17878549#comment-17878549
]
Pavel Pereslegin commented on IGNITE-23042:
-------------------------------------------
Looks like issue IGNITE-23060 should be resolved when this IGNITE-23042 will be
resolved (check TODO related to IGNITE-23060).
> 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
> 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)