Repository navigation
Commit 72c8a23
committed
fix(serde): address FileScanTask JSON review feedback
- reuse core strict integer parsing (GetJsonIntegerOrDefault) in the REST
scan-task reader instead of a local copy
- omit 'delete-files' when the task has no delete files, matching Java
- look up the partition spec explicitly in ToJson(FileScanTask) instead of
relying on std::map::at() after an earlier validation1 parent 7bc87fb commit 72c8a23
4 files changed
Lines changed: 31 additions & 25 deletions
File tree
- src/iceberg
- catalog/rest
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
112 | 111 | | |
113 | 112 | | |
114 | 113 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | 114 | | |
133 | 115 | | |
134 | 116 | | |
| |||
188 | 170 | | |
189 | 171 | | |
190 | 172 | | |
191 | | - | |
| 173 | + | |
192 | 174 | | |
193 | 175 | | |
194 | | - | |
| 176 | + | |
195 | 177 | | |
196 | 178 | | |
197 | 179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
574 | 574 | | |
575 | 575 | | |
576 | 576 | | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
577 | 585 | | |
578 | 586 | | |
579 | 587 | | |
| |||
2466 | 2474 | | |
2467 | 2475 | | |
2468 | 2476 | | |
2469 | | - | |
| 2477 | + | |
| 2478 | + | |
| 2479 | + | |
| 2480 | + | |
| 2481 | + | |
2470 | 2482 | | |
2471 | 2483 | | |
2472 | 2484 | | |
| |||
2491 | 2503 | | |
2492 | 2504 | | |
2493 | 2505 | | |
2494 | | - | |
| 2506 | + | |
| 2507 | + | |
| 2508 | + | |
2495 | 2509 | | |
2496 | 2510 | | |
2497 | 2511 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
448 | 457 | | |
449 | 458 | | |
450 | 459 | | |
| |||
457 | 466 | | |
458 | 467 | | |
459 | 468 | | |
460 | | - | |
| 469 | + | |
| 470 | + | |
461 | 471 | | |
462 | 472 | | |
463 | 473 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1628 | 1628 | | |
1629 | 1629 | | |
1630 | 1630 | | |
1631 | | - | |
| 1631 | + | |
1632 | 1632 | | |
1633 | 1633 | | |
1634 | 1634 | | |
1635 | | - | |
| 1635 | + | |
1636 | 1636 | | |
1637 | 1637 | | |
1638 | 1638 | | |
| |||
0 commit comments