Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3104 Enable Phoenix test cases with Calcite-Phoenix
  3. PHOENIX-3634

Many tests failing for not resolving table name properly in Phoenix-Calcite

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      There are around 2000 tests failing to resolve the table name and failing with below kind of error.

      additionOnDescCompositePK(org.apache.phoenix.end2end.SortOrderIT)  Time elapsed: 1.267 sec  <<< ERROR!
      java.sql.SQLException: Error while preparing statement [UPSERT INTO T000161 (n1,n2,n3,d1) VALUES(?,?,?,?)]
      	at org.apache.phoenix.end2end.SortOrderIT.runQueryTest(SortOrderIT.java:613)
      	at org.apache.phoenix.end2end.SortOrderIT.runQueryTest(SortOrderIT.java:586)
      	at org.apache.phoenix.end2end.SortOrderIT.additionOnDescCompositePK(SortOrderIT.java:391)
      Caused by: org.apache.calcite.runtime.CalciteContextException: From line 1, column 13 to line 1, column 19: Object 'T000161' not found
      	at org.apache.phoenix.end2end.SortOrderIT.runQueryTest(SortOrderIT.java:613)
      	at org.apache.phoenix.end2end.SortOrderIT.runQueryTest(SortOrderIT.java:586)
      	at org.apache.phoenix.end2end.SortOrderIT.additionOnDescCompositePK(SortOrderIT.java:391)
      Caused by: org.apache.calcite.sql.validate.SqlValidatorException: Object 'T000161' not found
      	at org.apache.phoenix.end2end.SortOrderIT.runQueryTest(SortOrderIT.java:613)
      	at org.apache.phoenix.end2end.SortOrderIT.runQueryTest(SortOrderIT.java:586)
      	at org.apache.phoenix.end2end.SortOrderIT.additionOnDescCompositePK(SortOrderIT.java:391)
      

      Attachments

        Activity

          People

            rajeshbabu Rajeshbabu Chintaguntla
            rajeshbabu Rajeshbabu Chintaguntla
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: