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

SQL: affinity key column is resolved incorrectly in GridH2Table

    XMLWordPrintableJSON

Details

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

    Description

      Reproducer:
      1) Start empty node;
      2) Execute CREATE TABLE Department (id LONG PRIMARY KEY, name VARCHAR)
      3) Observe in debugger how additional "AFFINITY KEY" index is created for the table.

      Root cause: we do not check whether resolved affinity key column is effectively an alias to the _KEY.

      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: