Commit ea0e701
authored
### Rationale for this change
`arrow::SchemaBuidler::AddMetadata()` replaces metadata not adds metadata.
### What changes are included in this PR?
Add metadata when calling `SchemaBuidler::AddMetadata()`.
### Are these changes tested?
Manually build pass.
### Are there any user-facing changes?
**This PR includes breaking changes to public APIs.**
`arrow::SchemaBuidler::AddMetadata()` adds not replaces the given metadata. If an existing code calls `AddMetadata()` multiple times, the behavior will be changed.
* GitHub Issue: #46146
Authored-by: Ziy1-Tan <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
1 parent db2d831 commit ea0e701
2 files changed
+13
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2641 | 2641 | | |
2642 | 2642 | | |
2643 | 2643 | | |
2644 | | - | |
| 2644 | + | |
| 2645 | + | |
2645 | 2646 | | |
2646 | 2647 | | |
2647 | 2648 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
746 | 746 | | |
747 | 747 | | |
748 | 748 | | |
| 749 | + | |
| 750 | + | |
749 | 751 | | |
750 | 752 | | |
751 | 753 | | |
752 | 754 | | |
753 | 755 | | |
754 | 756 | | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
755 | 761 | | |
756 | 762 | | |
757 | | - | |
| 763 | + | |
758 | 764 | | |
759 | | - | |
| 765 | + | |
760 | 766 | | |
761 | 767 | | |
762 | | - | |
| 768 | + | |
763 | 769 | | |
764 | 770 | | |
765 | | - | |
| 771 | + | |
766 | 772 | | |
767 | | - | |
| 773 | + | |
768 | 774 | | |
769 | 775 | | |
770 | 776 | | |
| |||
0 commit comments