Repository navigation
Commit 4aa55ba
fix(hms): use
fix(hms): use get_table_req for Hive 4 metastore compatibility
Hive 4.0.1 removed the `get_table` thrift method, so the HMS catalog fails
with `Invalid method name: 'get_table'` against any Hive 4 metastore.
Switch `load_table`, `table_exists`, and `rename_table` to `get_table_req`,
which exists in every Hive release since 2.3 (the IDL the `hive_metastore`
crate is generated from), so older metastores keep working.
Move the integration test metastore from `apache/hive:3.1.3` (Debian
Bullseye, EOL) to `apache/hive:4.2.1` so CI exercises a Hive 4 server,
mirroring apache/iceberg-python#3924.
Co-authored-by: Claude Fable 5.1 <[email protected]>get_table_req for Hive 4 metastore compatibility (apache#3187)1 parent d6c2eb4 commit 4aa55ba
2 files changed
Lines changed: 31 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
583 | 583 | | |
584 | 584 | | |
585 | 585 | | |
586 | | - | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
587 | 591 | | |
588 | 592 | | |
589 | | - | |
| 593 | + | |
| 594 | + | |
590 | 595 | | |
591 | 596 | | |
592 | 597 | | |
| |||
661 | 666 | | |
662 | 667 | | |
663 | 668 | | |
664 | | - | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
665 | 674 | | |
666 | 675 | | |
667 | 676 | | |
668 | 677 | | |
669 | | - | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
670 | 681 | | |
671 | 682 | | |
672 | 683 | | |
| |||
698 | 709 | | |
699 | 710 | | |
700 | 711 | | |
701 | | - | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
702 | 717 | | |
703 | 718 | | |
704 | | - | |
| 719 | + | |
| 720 | + | |
705 | 721 | | |
706 | 722 | | |
707 | 723 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 16 | + | |
20 | 17 | | |
21 | 18 | | |
22 | 19 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
29 | 23 | | |
30 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
31 | 27 | | |
32 | 28 | | |
0 commit comments