You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Iurii Gerzhedovich (Jira)" <ji...@apache.org> on 2026/03/11 12:19:00 UTC

[jira] [Updated] (IGNITE-28197) Incorrect cast of null with type DATE to TIMESTAMP type

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

Iurii Gerzhedovich updated IGNITE-28197:
----------------------------------------
    Summary: Incorrect cast of null with type DATE to TIMESTAMP type  (was: Incorrect cast of null with tyle DATE to TIMESTAMP type)

> 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
>            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)