Skip to content

Commit

Permalink
Minot updates to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
eagarg authored Jul 30, 2023
1 parent c5a75b6 commit 46dbdd2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Chapter14/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ select * from "curatedzonedb_iceberg"."streaming_films_ib$manifests"
select * from "curatedzonedb_iceberg"."streaming_films_ib$history"
```

- Use the following statement to do a *time travel* query, where you query the table as it was at a point in the past
- Use the following statement to do a *time travel* query, where you query the table as it was at a point in the past. **Ensure you change the
TIMESTAMP in the statement below to be a UTC time between when your first and second snapshots were created**.
```
SELECT * FROM "curatedzonedb_iceberg"."streaming_films_ib" FOR TIMESTAMP AS OF TIMESTAMP '2023-07-23 19:00:00 UTC' where category_name = 'Documentary'
```
Expand All @@ -129,7 +130,7 @@ select * from "curatedzonedb_iceberg"."streaming_films_ib$files"
OPTIMIZE curatedzonedb_iceberg.streaming_films_ib REWRITE DATA USING BIN_PACK
```

-- Use the following statement to display the list of files that make up the current, optimized, snapshot:
- Use the following statement to display the list of files that make up the current, optimized, snapshot:
```
select * from "curatedzonedb_iceberg"."streaming_films_ib$files"
```
Expand Down

0 comments on commit 46dbdd2

Please sign in to comment.