Aleksey Plekhanov created IGNITE-14724:
------------------------------------------

             Summary: Calcite engine. Create table with DATE column creates 
INTEGER column
                 Key: IGNITE-14724
                 URL: https://issues.apache.org/jira/browse/IGNITE-14724
             Project: Ignite
          Issue Type: Bug
            Reporter: Aleksey Plekhanov


Reproducer:
{code:java}
sql("CREATE TABLE t(d DATE)", true); 
sql("INSERT INTO t VALUES (date '2021-01-01')", true);
{code}
Fails with:
{noformat}
org.apache.calcite.runtime.CalciteContextException: At line 0, column 0: Cannot 
assign to target field 'D' of type INTEGER from source field 'DATE 
'2021-01-01'' of type DATE{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to