Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-507

Creating a VIEW that does not reference a table fails with "IllegalStateException: Cannot call toThrift() on a view."

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 1.1
    • Impala 1.1.1
    • None
    • None

    Description

      Creating a VIEW that does not reference a table fails with "IllegalStateException: Cannot call toThrift() on a view."

      Repro:

      [localhost:21000] > create view t as select 1;
      Query: create view t as select 1
      [localhost:21000] > select * from t;
      Query: select * from t
      ERROR: IllegalStateException: Cannot call toThrift() on a view.
      

      Attachments

        Activity

          People

            alex.behm Alexander Behm
            lskuff Lenni Kuff
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: