[ https://issues.apache.org/jira/browse/IGNITE-7848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16381921#comment-16381921 ]
Sergey Kalashnikov commented on IGNITE-7848: -------------------------------------------- [~andmed], I have looked into this issue and unfortunately this is kind of expected behaviour now. Current implementation of DDL ADD and DROP column has a limitation does not modify the data. So the CREATE INDEX and SELECT in your test fail because they see old field data which are of wrong type. With current implementation you need to clean the old fields manually first (NULL them with update f.ex). > On Date type mismatch DDL functionality is broken > ------------------------------------------------- > > Key: IGNITE-7848 > URL: https://issues.apache.org/jira/browse/IGNITE-7848 > Project: Ignite > Issue Type: Bug > Reporter: Andrew Medvedev > Priority: Major > Attachments: DateCannotBeCastTest.java > > > when Date type in value object is originally set as java.util.Date, then > after ADD COLUMN IF NOT EXISTS and CREATE INDEX on this field, basic SQL > functionality (SELECT) is broken -- This message was sent by Atlassian JIRA (v7.6.3#76005)