Commit 792f1ed
committed
Add labels support to LoadTableResponse and Table
Adds optional labels field to IRC LoadTableResponse, parsed by the REST
catalog client and exposed on Table objects.
- TableResponse: new labels dict field (default empty, backward compatible)
- Table: labels property + table_labels, column_labels, get_column_label()
- Column labels keyed by field-id for stability across schema evolution
Proof-of-concept for the IRC Labels proposal.1 parent 3e35d1b commit 792f1ed
2 files changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| 281 | + | |
281 | 282 | | |
282 | 283 | | |
283 | 284 | | |
| |||
805 | 806 | | |
806 | 807 | | |
807 | 808 | | |
| 809 | + | |
808 | 810 | | |
809 | 811 | | |
810 | 812 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1049 | 1049 | | |
1050 | 1050 | | |
1051 | 1051 | | |
| 1052 | + | |
1052 | 1053 | | |
1053 | 1054 | | |
1054 | 1055 | | |
| |||
1058 | 1059 | | |
1059 | 1060 | | |
1060 | 1061 | | |
| 1062 | + | |
1061 | 1063 | | |
1062 | 1064 | | |
1063 | 1065 | | |
1064 | 1066 | | |
1065 | 1067 | | |
1066 | 1068 | | |
1067 | 1069 | | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
1068 | 1088 | | |
1069 | 1089 | | |
1070 | 1090 | | |
| |||
0 commit comments