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

Users of hive should be able to specify skipTrash when dropping tables.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.14.0
    • Query Processor
    • None
    • Add PURGE option to DROP TABLE to skip moving table data to the trash

    Description

      Users of our clusters are often running up against their quota limits because of Hive tables. When they drop tables, they have to then manually delete the files from HDFS using skipTrash. This is cumbersome and unnecessary. We should enable users to skipTrash directly when dropping tables.
      We should also be able to provide this functionality without polluting SQL syntax.

      Attachments

        1. HIVE-7100.1.patch
          18 kB
          Jay Sen
        2. HIVE-7100.10.patch
          29 kB
          david serafini
        3. HIVE-7100.11.patch
          29 kB
          david serafini
        4. HIVE-7100.2.patch
          24 kB
          david serafini
        5. HIVE-7100.3.patch
          25 kB
          david serafini
        6. HIVE-7100.4.patch
          27 kB
          david serafini
        7. HIVE-7100.5.patch
          28 kB
          david serafini
        8. HIVE-7100.8.patch
          30 kB
          david serafini
        9. HIVE-7100.9.patch
          31 kB
          david serafini
        10. HIVE-7100.patch
          10 kB
          Jay Sen

        Issue Links

          Activity

            People

              dbsalti david serafini
              raviprak Ravi Prakash
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: