Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: Query Processor
    • Labels:
      None

      Description

      Currently Truncate Table (or Partition) is implemented using FileSystem.delete and then recreate the directory, so
      1. it does not support HDFS Trash
      2. if the table/partition directory is initially encryption protected, after being deleted and recreated, it is no more protected.
      The new implementation is to clean the contents of directory using multi-threaded trashFiles. If Trash is enabled and has a lower encryption level than the data directory, the files under it will be deleted. Otherwise, they will be Trashed

        Attachments

        1. HIVE-14626.1.patch
          14 kB
          Chaoyu Tang
        2. HIVE-14626.patch
          13 kB
          Chaoyu Tang

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment