Commit 82821e5
authored
arrow-ipc: Remove all abilities to preserve dict IDs (#7940)
# Which issue does this PR close?
Does not yet close, but contributes towards:
- #6356
- #5981
- #1206
# Rationale for this change
See the above issues. And this is a follow up to
* #6711
* #6873
This was also split out from:
#7929
# What changes are included in this PR?
This removes the API to allow preserving `dict_id` set in the `Schema`'s
`Field` within arrow-ipc and arrow-flight. This is in an effort to
remove the `dict_id` field entirely and make it an IPC/flight-only
concern.
# Are these changes tested?
Yes, all existing tests continue to pass.
# Are there any user-facing changes?
Yes, these previously (in 54.0.0) deprecated functions/fields are
removed:
* `arrow_ipc::DictionaryTracker.set_dict_id`
* `arrow_ipc::DictionaryTracker::new_with_preserve_dict_id`
* `arrow_ipc::IpcWriteOptions.with_preserve_dict_id`
* `arrow_ipc::IpcWriteOptions.preserve_dict_id` (function and field)
* `arrow_ipc::schema_to_fb`
* `arrow_ipc::schema_to_bytes`1 parent 99eb1bc commit 82821e5
File tree
10 files changed
+55
-221
lines changed- arrow-flight/src
- arrow-integration-testing/src
- flight_client_scenarios
- flight_server_scenarios
- arrow-ipc/src
- reader
- parquet/src/arrow/schema
10 files changed
+55
-221
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
535 | 535 | | |
536 | 536 | | |
537 | 537 | | |
538 | | - | |
539 | | - | |
540 | | - | |
| 538 | + | |
541 | 539 | | |
542 | 540 | | |
543 | 541 | | |
544 | 542 | | |
545 | 543 | | |
546 | | - | |
| 544 | + | |
547 | 545 | | |
548 | 546 | | |
549 | 547 | | |
| |||
585 | 583 | | |
586 | 584 | | |
587 | 585 | | |
588 | | - | |
589 | | - | |
| 586 | + | |
590 | 587 | | |
591 | 588 | | |
592 | 589 | | |
593 | 590 | | |
594 | 591 | | |
595 | | - | |
| 592 | + | |
596 | 593 | | |
597 | 594 | | |
598 | 595 | | |
| |||
654 | 651 | | |
655 | 652 | | |
656 | 653 | | |
657 | | - | |
658 | | - | |
659 | 654 | | |
660 | 655 | | |
661 | 656 | | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
| 657 | + | |
667 | 658 | | |
668 | 659 | | |
669 | 660 | | |
| |||
1547 | 1538 | | |
1548 | 1539 | | |
1549 | 1540 | | |
1550 | | - | |
1551 | 1541 | | |
1552 | | - | |
| 1542 | + | |
1553 | 1543 | | |
1554 | 1544 | | |
1555 | 1545 | | |
| |||
1575 | 1565 | | |
1576 | 1566 | | |
1577 | 1567 | | |
1578 | | - | |
1579 | | - | |
| 1568 | + | |
1580 | 1569 | | |
1581 | 1570 | | |
1582 | 1571 | | |
| |||
1606 | 1595 | | |
1607 | 1596 | | |
1608 | 1597 | | |
1609 | | - | |
1610 | | - | |
1611 | | - | |
| 1598 | + | |
1612 | 1599 | | |
1613 | 1600 | | |
1614 | 1601 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
153 | | - | |
154 | | - | |
| 152 | + | |
155 | 153 | | |
156 | 154 | | |
157 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | | - | |
| 93 | + | |
96 | 94 | | |
97 | 95 | | |
98 | 96 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | | - | |
| 75 | + | |
78 | 76 | | |
79 | 77 | | |
80 | 78 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
123 | | - | |
124 | | - | |
| 122 | + | |
125 | 123 | | |
126 | 124 | | |
127 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | 131 | | |
137 | 132 | | |
138 | 133 | | |
| |||
530 | 525 | | |
531 | 526 | | |
532 | 527 | | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
| 528 | + | |
546 | 529 | | |
547 | 530 | | |
548 | 531 | | |
549 | 532 | | |
550 | 533 | | |
| 534 | + | |
551 | 535 | | |
552 | 536 | | |
553 | 537 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2007 | 2007 | | |
2008 | 2008 | | |
2009 | 2009 | | |
2010 | | - | |
2011 | | - | |
| 2010 | + | |
2012 | 2011 | | |
2013 | 2012 | | |
2014 | 2013 | | |
| |||
2440 | 2439 | | |
2441 | 2440 | | |
2442 | 2441 | | |
2443 | | - | |
2444 | | - | |
| 2442 | + | |
2445 | 2443 | | |
2446 | 2444 | | |
2447 | 2445 | | |
| |||
2479 | 2477 | | |
2480 | 2478 | | |
2481 | 2479 | | |
2482 | | - | |
2483 | | - | |
| 2480 | + | |
2484 | 2481 | | |
2485 | 2482 | | |
2486 | 2483 | | |
| |||
2691 | 2688 | | |
2692 | 2689 | | |
2693 | 2690 | | |
2694 | | - | |
2695 | | - | |
| 2691 | + | |
2696 | 2692 | | |
2697 | 2693 | | |
2698 | 2694 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
399 | | - | |
| 398 | + | |
400 | 399 | | |
401 | 400 | | |
402 | 401 | | |
| |||
0 commit comments