You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/01/11 13:23:00 UTC
[jira] [Work logged] (HIVE-26927) Iceberg: Add support for set_current_snapshotid
[ https://issues.apache.org/jira/browse/HIVE-26927?focusedWorklogId=838642&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-838642 ]
ASF GitHub Bot logged work on HIVE-26927:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 11/Jan/23 13:22
Start Date: 11/Jan/23 13:22
Worklog Time Spent: 10m
Work Description: ayushtkn opened a new pull request, #3937:
URL: https://github.com/apache/hive/pull/3937
### What changes were proposed in this pull request?
Add a command to set current snapshot for the iceberg table
### Why are the changes needed?
To move back and forth with snapshots in case of iceberg tables
### Does this PR introduce _any_ user-facing change?
Yes, User can set the current snapshot for the iceberg table.
### How was this patch tested?
UT
Issue Time Tracking
-------------------
Worklog Id: (was: 838642)
Remaining Estimate: 0h
Time Spent: 10m
> Iceberg: Add support for set_current_snapshotid
> -----------------------------------------------
>
> Key: HIVE-26927
> URL: https://issues.apache.org/jira/browse/HIVE-26927
> Project: Hive
> Issue Type: Improvement
> Components: Iceberg integration
> Reporter: Rajesh Balamohan
> Assignee: Ayush Saxena
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently, hive supports "rollback" feature. Once rolledback, it is not possible to move from older snapshot to newer snapshot.
> It ends up throwing {color:#0747a6}"org.apache.iceberg.exceptions.ValidationException: Cannot roll back to snapshot, not an ancestor of the current state:" {color}error.
> It will be good to support "set_current_snapshot" function to move to different snapshot ids.
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)