Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-32481][CORE][SQL] Support truncate table to move data to trash #29552

Closed
wants to merge 4 commits into from

Commits on Aug 26, 2020

  1. [SPARK-32481][CORE][SQL] Support truncate table to move data to trash

    Instead of deleting the data, we can move the data to trash.
    Based on the configuration provided by the user it will be deleted permanently from the trash.
    
    Instead of directly deleting the data, we can provide flexibility to move data to the trash and then delete it permanently.
    
    Yes, After truncate table the data is not permanently deleted now.
    It is first moved to the trash and then after the given time deleted permanently;
    
    new UTs added
    
    Closes apache#29387 from Udbhav30/tuncateTrash.
    
    Authored-by: Udbhav30 <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    Udbhav30 committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    6cf355a View commit details
    Browse the repository at this point in the history
  2. Handle review comments

    Udbhav30 committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    47075de View commit details
    Browse the repository at this point in the history
  3. Handle review comments

    Udbhav30 committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    1062cb9 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2020

  1. minor comment fixes

    Udbhav30 committed Aug 30, 2020
    Configuration menu
    Copy the full SHA
    2dd78a4 View commit details
    Browse the repository at this point in the history