[ 
https://issues.apache.org/jira/browse/HIVE-25344?focusedWorklogId=626182&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-626182
 ]

ASF GitHub Bot logged work on HIVE-25344:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 21/Jul/21 15:13
            Start Date: 21/Jul/21 15:13
    Worklog Time Spent: 10m 
      Work Description: pvary opened a new pull request #2512:
URL: https://github.com/apache/hive/pull/2512


   ### What changes were proposed in this pull request?
   Allow the following queries working on the Iceberg tables:
   ```
   SELECT * FROM t FOR SYSTEM_TIME AS OF <timestamp>;
   SELECT * FROM t FOR SYSTEM_VERSION AS OF <version>;
   ```
   
   ### Why are the changes needed?
   We would like to have timetravel available for Iceberg tables
   
   
   ### Does this PR introduce _any_ user-facing change?
   Enables the following queries:
   ```
   SELECT * FROM t FOR SYSTEM_TIME AS OF <timestamp>;
   SELECT * FROM t FOR SYSTEM_VERSION AS OF <version>;
   ```
   
   ### How was this patch tested?
   Added unit tests
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 626182)
    Remaining Estimate: 0h
            Time Spent: 10m

> Add a possibility to query Iceberg table snapshots based on the timestamp or 
> the snapshot id
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-25344
>                 URL: https://issues.apache.org/jira/browse/HIVE-25344
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Implement the following commands:
> {code:java}
> SELECT * FROM t FOR SYSTEM_TIME AS OF <timestamp>;
> SELECT * FROM t FOR SYSTEM_VERSION AS OF <version>;{code}
> where SYSTEM_TIME is the Iceberg table state at the given timestamp (UTC), or 
> SYSTEM_VERSION is the Iceberg table snapshot id.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to