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

CREATE VIEW followup: CREATE OR REPLACE

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.0
    • 0.8.0
    • Query Processor
    • None
    • Reviewed

    Description

      Currently, replacing a view requires

      DROP VIEW v;
      CREATE VIEW v AS <new-definition>;

      CREATE OR REPLACE would allow these to be combined into a single operation.

      Attachments

        1. HIVE-1078v3.patch
          78 kB
          Charles Chen
        2. HIVE-1078v4.patch
          97 kB
          Charles Chen
        3. HIVE-1078v5.patch
          99 kB
          Charles Chen
        4. HIVE-1078v6.patch
          99 kB
          Charles Chen
        5. HIVE-1078v7.patch
          110 kB
          Charles Chen
        6. HIVE-1078v8.patch
          122 kB
          Charles Chen
        7. HIVE-1078v9.patch
          122 kB
          Charles Chen

        Issue Links

          Activity

            People

              ccy Charles Chen
              jvs John Sichi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: