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

Impala doesn't populate column list in "view expanded text"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Impala 2.1
    • None
    • Frontend

    Description

      I have two tables, test (c1 int, c2 int), testhive(c1 int, c2 timestamp)
      from impala shell
      create view v_impala as select test.* from test join testhive on test.c1 = testhive.c1;
      then "desc formatted v_impala", I got

      | View Original Text:          | SELECT test.* FROM default.test INNER JOIN default.testhive ON test.c1 = testhive.c1 | NULL                 |
      | View Expanded Text:          | SELECT test.* FROM default.test INNER JOIN default.testhive ON test.c1 = testhive.c1 | NULL   
      

      if I create the same view "v_hive" from hive shell,
      then "desc formatted v_hive" gives expanded column list.

      | View Original Text:          | select test.* from test join testhive on test.c1 = testhive.c1                                                   | NULL                 |
      | View Expanded Text:          | select `test`.`c1`, `test`.`c2` from `default`.`test` join `default`.`testhive` on `test`.`c1` = `testhive`.`c1` | NULL  
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jyu@cloudera.com Juan Yu
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: