[
https://issues.apache.org/jira/browse/IGNITE-23192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Evgeny Stanilovsky reassigned IGNITE-23192:
-------------------------------------------
Assignee: Evgeny Stanilovsky
> Sql. Arithmetic operations failed with "out of range" exception.
> ----------------------------------------------------------------
>
> Key: IGNITE-23192
> URL: https://issues.apache.org/jira/browse/IGNITE-23192
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Affects Versions: 3.0.0-beta1
> Reporter: Evgeny Stanilovsky
> Assignee: Evgeny Stanilovsky
> Priority: Major
> Labels: ignite-3
>
> {noformat}
> sql("CREATE TABLE t(key int primary key, c1 tinyint, c2 tinyint)");
> sql("INSERT INTO t VALUES(1, 100, 100)");
> sql("SELECT c1 + c2 from t");
> // the same:
> sql("SELECT c1 * c2 from t");
> // will fail but need different insertion: INSERT INTO t VALUES(1, -100, 100)
> sql("SELECT c1 - c2 from t");
> {noformat}
> Failed with :
> "TINYINT out of range" exception, seems the same for int16 and int 32 types
--
This message was sent by Atlassian Jira
(v8.20.10#820010)