Iurii Gerzhedovich created IGNITE-28197:
-------------------------------------------

             Summary: Incorrect cast of null with tyle 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


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