[ 
https://issues.apache.org/jira/browse/IGNITE-5058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15980928#comment-15980928
 ] 

ASF GitHub Bot commented on IGNITE-5058:
----------------------------------------

Github user devozerov closed the pull request at:

    https://github.com/apache/ignite/pull/1861


> Improve QueryEntity validation
> ------------------------------
>
>                 Key: IGNITE-5058
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5058
>             Project: Ignite
>          Issue Type: Task
>          Components: SQL
>            Reporter: Vladimir Ozerov
>            Assignee: Vladimir Ozerov
>             Fix For: 2.0
>
>
> Currently {{QueryEntity.setIndexes}} mutates provided index in order to set 
> missing index name if needed. This is fundamentally wrong because validation 
> must occur after everything is set, not before. 
> This faulty approach worked fine before, when index name was not dependent on 
> type name. But recent DDL changes broken it further, so now it is impossible 
> to set indexes with null names before setting {{QueryEntity.typeName}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to