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

Aleksey Plekhanov reassigned IGNITE-14724:
------------------------------------------

    Assignee: Aleksey Plekhanov

> 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
>            Assignee: Aleksey Plekhanov
>            Priority: Major
>
> 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