Commit 701d39c
authored
fix(rest): use "ref" field name for AssertRefSnapshotId requirement (apache#702)
The `AssertRefSnapshotId` table requirement was serialized and
deserialized with the JSON field name `ref-name`. Per the Iceberg REST
OpenAPI spec (`rest-catalog-open-api.yaml`), this requirement's field is
named `ref`. Only the `SetSnapshotRef` / `RemoveSnapshotRef` *updates*
use `ref-name`1 parent 50aee7e commit 701d39c
2 files changed
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
| |||
1505 | 1506 | | |
1506 | 1507 | | |
1507 | 1508 | | |
1508 | | - | |
| 1509 | + | |
| 1510 | + | |
1509 | 1511 | | |
1510 | 1512 | | |
1511 | 1513 | | |
| |||
1702 | 1704 | | |
1703 | 1705 | | |
1704 | 1706 | | |
1705 | | - | |
| 1707 | + | |
1706 | 1708 | | |
1707 | 1709 | | |
1708 | 1710 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
684 | | - | |
| 684 | + | |
685 | 685 | | |
686 | 686 | | |
687 | 687 | | |
| |||
693 | 693 | | |
694 | 694 | | |
695 | 695 | | |
696 | | - | |
| 696 | + | |
697 | 697 | | |
698 | 698 | | |
699 | 699 | | |
| |||
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
705 | 713 | | |
706 | 714 | | |
707 | 715 | | |
| |||
0 commit comments