Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5207

Create index if not exists fails incorrectly if table has 'maxIndexesPerTable' indexes already

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.14.1
    • 4.15.0, 5.1.0, 4.14.2, 5.0.1
    • None
    • None

    Description

      If a table has 'maxIndexesPerTable' indexes and we try to create another one and if it already exists we should not throw 'ERROR 1047 (43A04): Too many indexes have already been created' since weve put 'if not exists' already in the statement.

      Attachments

        1. PHOENIX-5207-master.patch
          4 kB
          Abhishek Singh Chouhan
        2. PHOENIX-5207-4.14-HBase-1.4.patch
          6 kB
          Abhishek Singh Chouhan

        Activity

          People

            abhishek.chouhan Abhishek Singh Chouhan
            abhishek.chouhan Abhishek Singh Chouhan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: