Skip to content

Commit

Permalink
Modified arrow::internal::GroupBy to use an exec plan directly instea…
Browse files Browse the repository at this point in the history
…d of emulating one

apacheGH-14866: converted GroupBy into a proper convenience function, accepting arrays and returning table, with unit tests
  • Loading branch information
westonpace committed Jan 25, 2023
1 parent f3637ac commit b5bfe85
Show file tree
Hide file tree
Showing 15 changed files with 1,241 additions and 1,219 deletions.
2 changes: 1 addition & 1 deletion cpp/src/arrow/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ if(ARROW_COMPUTE)
compute/api_vector.cc
compute/cast.cc
compute/exec.cc
compute/exec/aggregate.cc
compute/exec/groupby.cc
compute/exec/accumulation_queue.cc
compute/exec/aggregate_node.cc
compute/exec/asof_join_node.cc
Expand Down
1 change: 1 addition & 0 deletions cpp/src/arrow/compute/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,4 @@

#include "arrow/compute/exec.h" // IWYU pragma: export
#include "arrow/compute/exec/exec_plan.h" // IWYU pragma: export
#include "arrow/compute/exec/groupby.h" // IWYU pragma: export
1 change: 1 addition & 0 deletions cpp/src/arrow/compute/exec/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ add_arrow_compute_test(asof_join_node_test
test_nodes.cc)
add_arrow_compute_test(tpch_node_test PREFIX "arrow-compute")
add_arrow_compute_test(union_node_test PREFIX "arrow-compute")
add_arrow_compute_test(groupby_test PREFIX "arrow-compute")
add_arrow_compute_test(util_test
PREFIX
"arrow-compute"
Expand Down
242 changes: 0 additions & 242 deletions cpp/src/arrow/compute/exec/aggregate.cc

This file was deleted.

59 changes: 0 additions & 59 deletions cpp/src/arrow/compute/exec/aggregate.h

This file was deleted.

Loading

0 comments on commit b5bfe85

Please sign in to comment.