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

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

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      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

        1. PHOENIX-3635.patch
          0.9 kB
          Rajeshbabu Chintaguntla

          Issue Links

            Activity

              People

              • Assignee:
                rajeshbabu Rajeshbabu Chintaguntla
                Reporter:
                rajeshbabu Rajeshbabu Chintaguntla
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: