Evgeny Stanilovsky created IGNITE-19877:
-------------------------------------------
Summary: Sql. Erroneous cast possibility Custom object to Numeric.
Key: IGNITE-19877
URL: https://issues.apache.org/jira/browse/IGNITE-19877
Project: Ignite
Issue Type: Bug
Components: sql
Affects Versions: 3.0.0-beta1
Reporter: Evgeny Stanilovsky
{code:java}
@Test
public void test0() \{
String query = format("SELECT CAST(? AS DECIMAL(5, 1))");
sql(query).withParams(LocalDateTime.now()).returns(2).ok();
}
{code}
Throws Numeric overflow exception, seems this is incorrect behavior.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)