ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-5058) Improve QueryEntity validation
Date Sat, 22 Apr 2017 17:21:04 GMT
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

View raw message