Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-5058

Improve QueryEntity validation

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0
    • sql
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              vozerov Vladimir Ozerov
              vozerov Vladimir Ozerov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: