Commit f36ce31
committed
[Enhancement] Adapt BE to Arrow 24 (testing lib + json_simple removal)
Arrow 24 moved ArrayFromJSON out of the main library into libarrow_testing
and removed arrow/ipc/json_simple.h. Adapt StarRocks:
- build_arrow: enable ARROW_TESTING (depends only on ARROW_JSON, already on)
with system GTest, so libarrow_testing.a is built and installed.
- be/CMakeLists.txt: link arrow_testing (static; only the BE test binary
that references ArrayFromJSON pulls it in, no production bloat).
- column_to_arrow_converter_test.cpp: replace <arrow/ipc/json_simple.h> with
<arrow/testing/gtest_util.h> and arrow::ipc::internal::json::ArrayFromJSON
with arrow::ArrayFromJSON.
Production BE compiles cleanly against Arrow 24 (verified to 57%+ incl. all
column/arrow converters); this only touches a test + the thirdparty testing lib.1 parent 7f3c3bd commit f36ce31
3 files changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
| 652 | + | |
652 | 653 | | |
653 | 654 | | |
654 | 655 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
531 | | - | |
| 531 | + | |
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
| |||
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
557 | | - | |
| 557 | + | |
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
| |||
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
584 | | - | |
| 584 | + | |
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
| |||
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
618 | | - | |
| 618 | + | |
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
931 | 931 | | |
932 | 932 | | |
933 | 933 | | |
934 | | - | |
| 934 | + | |
935 | 935 | | |
936 | 936 | | |
937 | 937 | | |
| |||
0 commit comments