[
https://issues.apache.org/jira/browse/IGNITE-18656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17832149#comment-17832149
]
Maksim Zhuravkov commented on IGNITE-18656:
-------------------------------------------
Fixed in IGNITE-18671. Tests related to this issue should pass but
{code:java}
# overflow in conversion
skipif ignite3
# https://issues.apache.org/jira/browse/IGNITE-18656
statement error
SELECT '9223372036854788.758'::DECIMAL;
{code}
Should be changed to because this cast is valid.
{code:java}
# no overflow in conversion
query I
SELECT '9223372036854788.758'::DECIMAL;
----
9223372036854788.758
{code}
> Sql. Decimal conversion in overflow: SELECT '9223372036854788.758'::DECIMAL
> ----------------------------------------------------------------------------
>
> Key: IGNITE-18656
> URL: https://issues.apache.org/jira/browse/IGNITE-18656
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Reporter: Maksim Zhuravkov
> Priority: Minor
> Labels: calcite2-required, calcite3-required, ignite-3
> Fix For: 3.0.0-beta2
>
>
> {code:java}
> # overflow in conversion
> skipif ignite3
> statement error
> SELECT '9223372036854788.758'::DECIMAL; {code}
> {code:java}
> Not expected result at: (test_decimal.test:40). Statement: SELECT
> '9223372036854788.758'::DECIMAL;. Error: an instance of java.lang.String ==>
> Expected java.lang.Throwable to be thrown, but nothing was thrown.
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)