You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksey Plekhanov (Jira)" <ji...@apache.org> on 2021/05/17 06:26:00 UTC

[jira] [Assigned] (IGNITE-14724) Calcite engine. Create table with DATE column creates INTEGER column

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