Vladimir Ozerov created IGNITE-5058:
---------------------------------------

             Summary: 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