Commit 3f3faea
committed
Change iceberg table and catalog locations
This change does 2 changes:
- When a table is created with `catalog=obeject_store`, the catalog
file used to be in `defaultPrefix/_catalog/frompg/pg_db.json` after this
commit: `defaultPrefix/frompg/catalog/pg_db.json`
- When any iceberg table is created, it used to be located in
`defaultPrefix/dbname/schema/table_name`. After this commit:
`defaultPrefix/frompg/tables/dbname/schema/table_name`
The goal is to be able to differentiate the tables written by
Postgres, and other systems. The `frompg` allows this. Also,
we can control the access of `/catalog` folder such that only
priviledged users can access that.1 parent aa687ad commit 3f3faea
File tree
7 files changed
+39
-25
lines changed- pg_lake_iceberg
- include/pg_lake
- iceberg
- object_store_catalog
- src
- iceberg
- object_store_catalog
- pg_lake_table/tests/pytests
7 files changed
+39
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
739 | 742 | | |
740 | 743 | | |
741 | 744 | | |
| 745 | + | |
| 746 | + | |
742 | 747 | | |
743 | 748 | | |
744 | 749 | | |
| |||
748 | 753 | | |
749 | 754 | | |
750 | 755 | | |
| 756 | + | |
751 | 757 | | |
752 | 758 | | |
753 | 759 | | |
| |||
757 | 763 | | |
758 | 764 | | |
759 | 765 | | |
760 | | - | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
761 | 775 | | |
762 | 776 | | |
763 | | - | |
| 777 | + | |
| 778 | + | |
764 | 779 | | |
765 | 780 | | |
766 | 781 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
Lines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
496 | 494 | | |
497 | 495 | | |
498 | 496 | | |
499 | | - | |
| 497 | + | |
500 | 498 | | |
501 | 499 | | |
502 | 500 | | |
503 | | - | |
| 501 | + | |
504 | 502 | | |
505 | 503 | | |
506 | 504 | | |
507 | | - | |
508 | | - | |
| 505 | + | |
| 506 | + | |
509 | 507 | | |
510 | 508 | | |
511 | 509 | | |
| |||
521 | 519 | | |
522 | 520 | | |
523 | 521 | | |
524 | | - | |
| 522 | + | |
525 | 523 | | |
526 | 524 | | |
527 | 525 | | |
528 | | - | |
| 526 | + | |
529 | 527 | | |
530 | 528 | | |
531 | 529 | | |
532 | | - | |
533 | | - | |
| 530 | + | |
| 531 | + | |
534 | 532 | | |
535 | 533 | | |
536 | 534 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
| 336 | + | |
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
978 | 978 | | |
979 | 979 | | |
980 | 980 | | |
981 | | - | |
| 981 | + | |
982 | 982 | | |
983 | 983 | | |
984 | 984 | | |
985 | 985 | | |
986 | 986 | | |
987 | 987 | | |
988 | | - | |
| 988 | + | |
989 | 989 | | |
990 | 990 | | |
991 | 991 | | |
| |||
1009 | 1009 | | |
1010 | 1010 | | |
1011 | 1011 | | |
1012 | | - | |
| 1012 | + | |
1013 | 1013 | | |
1014 | 1014 | | |
1015 | 1015 | | |
1016 | 1016 | | |
1017 | 1017 | | |
1018 | | - | |
| 1018 | + | |
1019 | 1019 | | |
1020 | 1020 | | |
1021 | 1021 | | |
| |||
0 commit comments