Commit 609b792
feat: re-export name mapping (#1116)
## Which issue does this PR close?
Likely helps towards #919
and this was also discussed in
[Slack](https://apache-iceberg.slack.com/archives/C05HTENMJG4/p1742385647684059).
## What changes are included in this PR?
This publicly re-exports the `name_mapping` module to `iceberg::spec`.
Prior to this, it is private and inaccessible outside of this crate.
## Are these changes tested?
The main changes here are not functional changes except to visibility.
The additional fields to the `NameMapping` structure have test coverage
and are covered by prior tests, it is expected that these internal
fields do **not** show up in the serialised `NameMapping` output, hence
they are marked with the `serde(skip)` attribute - this is upheld with
prior tests.
---------
Co-authored-by: Renjie Liu <[email protected]>1 parent e8f795e commit 609b792
2 files changed
+73
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
Lines changed: 72 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
27 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
28 | 45 | | |
29 | 46 | | |
30 | 47 | | |
| |||
33 | 50 | | |
34 | 51 | | |
35 | 52 | | |
36 | | - | |
37 | | - | |
| 53 | + | |
| 54 | + | |
38 | 55 | | |
39 | 56 | | |
40 | 57 | | |
41 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
42 | 85 | | |
43 | 86 | | |
44 | 87 | | |
| |||
196 | 239 | | |
197 | 240 | | |
198 | 241 | | |
199 | | - | |
| 242 | + | |
| 243 | + | |
200 | 244 | | |
201 | 245 | | |
202 | 246 | | |
203 | 247 | | |
204 | | - | |
| 248 | + | |
| 249 | + | |
205 | 250 | | |
206 | 251 | | |
207 | | - | |
| 252 | + | |
208 | 253 | | |
209 | 254 | | |
210 | 255 | | |
| |||
234 | 279 | | |
235 | 280 | | |
236 | 281 | | |
237 | | - | |
| 282 | + | |
| 283 | + | |
238 | 284 | | |
239 | 285 | | |
240 | 286 | | |
| |||
244 | 290 | | |
245 | 291 | | |
246 | 292 | | |
247 | | - | |
| 293 | + | |
| 294 | + | |
248 | 295 | | |
249 | 296 | | |
250 | 297 | | |
| |||
253 | 300 | | |
254 | 301 | | |
255 | 302 | | |
256 | | - | |
| 303 | + | |
| 304 | + | |
257 | 305 | | |
258 | 306 | | |
259 | 307 | | |
260 | 308 | | |
261 | | - | |
| 309 | + | |
| 310 | + | |
262 | 311 | | |
263 | | - | |
| 312 | + | |
| 313 | + | |
264 | 314 | | |
265 | 315 | | |
266 | 316 | | |
| |||
274 | 324 | | |
275 | 325 | | |
276 | 326 | | |
277 | | - | |
| 327 | + | |
| 328 | + | |
278 | 329 | | |
279 | 330 | | |
280 | 331 | | |
281 | 332 | | |
282 | | - | |
| 333 | + | |
| 334 | + | |
283 | 335 | | |
284 | | - | |
| 336 | + | |
| 337 | + | |
285 | 338 | | |
286 | 339 | | |
287 | 340 | | |
| |||
291 | 344 | | |
292 | 345 | | |
293 | 346 | | |
294 | | - | |
| 347 | + | |
| 348 | + | |
295 | 349 | | |
296 | 350 | | |
297 | 351 | | |
298 | 352 | | |
299 | | - | |
| 353 | + | |
| 354 | + | |
300 | 355 | | |
301 | 356 | | |
302 | 357 | | |
| |||
0 commit comments