Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-11482

Implement Iceberg table rollback feature

    XMLWordPrintableJSON

Details

    • ghx-label-11

    Description

      We should allow rolling back iceberg table's data to the state at an older table snapshot. 

      Rollback to the last snapshot before a specific timestamp

      ALTER TABLE ice_t EXECUTE ROLLBACK('2022-05-12 00:00:00')
      

      Rollback to a specific snapshot ID

       ALTER TABLE ice_t EXECUTE ROLLBACK(1111); 
      

      However, to revert a rollback we might need to be able to change the table's metadata_location property (like HIVE-26203).

      Attachments

        Issue Links

          Activity

            People

              asherman Andrew Sherman
              boroknagyz Zoltán Borók-Nagy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: