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

Calcite engine. Failed to join table with itself with 'USING' clause

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      Statement:

      CREATE TABLE test (t INT);
      SELECT * FROM test t1 JOIN test t2 USING (t)

      Failed with: 

      java.lang.ArrayIndexOutOfBoundsException: 2
      

      But statement:

      CREATE TABLE test (t INT);
      CREATE TABLE test2 (t INT);
      SELECT * FROM test t1 JOIN test2 t2 USING (t)

      Works.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alex_pl Aleksey Plekhanov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: