[ https://issues.apache.org/jira/browse/IGNITE-14724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17364805#comment-17364805 ]
Aleksey Plekhanov commented on IGNITE-14724: -------------------------------------------- [~korlov] thanks for the review! Merged to sql-calcite branch. > 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 > Time Spent: 10m > Remaining Estimate: 0h > > 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)