Commit 6cc9122
committed
find ancestor before timestamp
we cannot use snapshot_as_of_timestamp() as it finds previously current snapshots but not necessarily an ancestor.
An example is here: https://iceberg.apache.org/docs/nightly/spark-queries/?h=ancestor#history1 parent 254413f commit 6cc9122
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| |||
2050 | 2051 | | |
2051 | 2052 | | |
2052 | 2053 | | |
2053 | | - | |
| 2054 | + | |
| 2055 | + | |
| 2056 | + | |
| 2057 | + | |
| 2058 | + | |
2054 | 2059 | | |
2055 | 2060 | | |
2056 | 2061 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
422 | 433 | | |
423 | 434 | | |
424 | 435 | | |
| |||
0 commit comments