[
https://issues.apache.org/jira/browse/IGNITE-18559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maksim Zhuravkov updated IGNITE-18559:
--------------------------------------
Description:
At the moment least restrictive type between VARCHAR and DECIMAL is
DECIMAL(precision=32767, scale=16383). See TypeCoercionTest
testVarCharToNumeric.
Investigate why that happens and whether it is a problem or not.
Test query:
{code:java}
SELECT NULLIF(12.2, 'b') -- Should fail since types do not match {code}
was:
At the moment least restrictive type between VARCHAR and DECIMAL is
DECIMAL(precision=32767, scale=16383). See TypeCoercionTest
testVarCharToNumeric.
Investigate why that happens and whether it is a problem or not.
> Sql. The least restrictive type between VARCHAR and DECIMAL is
> DECIMAL(precision=32767, scale=16383)
> ----------------------------------------------------------------------------------------------------
>
> Key: IGNITE-18559
> URL: https://issues.apache.org/jira/browse/IGNITE-18559
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Reporter: Maksim Zhuravkov
> Priority: Minor
> Labels: ignite-3
> Fix For: 3.0.0-beta1
>
>
> At the moment least restrictive type between VARCHAR and DECIMAL is
> DECIMAL(precision=32767, scale=16383). See TypeCoercionTest
> testVarCharToNumeric.
> Investigate why that happens and whether it is a problem or not.
> Test query:
> {code:java}
> SELECT NULLIF(12.2, 'b') -- Should fail since types do not match {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)