Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-1146

CREATE VIEW followup: add utility for recursively expanding view references

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.6.0
    • None
    • Query Processor
    • None

    Description

      Something like

      CREATE VIEW v1 AS SELECT c from t1;
      CREATE VIEW v2 AS SELECT c from t2;
      EXPLAIN VIEW select * from v1 union all select * from v2;

      to produce

      select c from (select c from t1) union all select c from (select c from t2);

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jvs John Sichi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: