[
https://issues.apache.org/jira/browse/IGNITE-23042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Pereslegin updated IGNITE-23042:
--------------------------------------
Description:
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.
was:
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.
* ...
> Sql. Revise the rules for implicit type casts
> ---------------------------------------------
>
> 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)