[ 
https://issues.apache.org/jira/browse/IGNITE-28197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maksim Zhuravkov reassigned IGNITE-28197:
-----------------------------------------

    Assignee: Maksim Zhuravkov

> Incorrect cast of null with type DATE to TIMESTAMP type
> -------------------------------------------------------
>
>                 Key: IGNITE-28197
>                 URL: https://issues.apache.org/jira/browse/IGNITE-28197
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql ai3
>            Reporter: Iurii Gerzhedovich
>            Assignee: Maksim Zhuravkov
>            Priority: Major
>              Labels: ignite-3
>
> Unexpected result during null with type DATE cast to TIMESTAMP.
> {code:java}
> sql("CREATE TABLE test(id INT PRIMARY KEY, t1 DATE)");
> sql("INSERT INTO test (id, t1) VALUES (1, null)");
> sql("SELECT t1::TIMESTAMP FROM test")); //returns [1970-01-01T00:00]]{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to