bkietz commented on a change in pull request #10397: URL: https://github.com/apache/arrow/pull/10397#discussion_r660110832
########## File path: cpp/src/arrow/compute/exec/plan_test.cc ########## @@ -20,27 +20,46 @@ #include <functional> #include <memory> +#include "arrow/compute/exec.h" #include "arrow/compute/exec/exec_plan.h" +#include "arrow/compute/exec/expression.h" #include "arrow/compute/exec/test_util.h" #include "arrow/record_batch.h" #include "arrow/testing/future_util.h" #include "arrow/testing/gtest_util.h" #include "arrow/testing/random.h" #include "arrow/util/logging.h" #include "arrow/util/thread_pool.h" +#include "arrow/util/vector.h" -namespace arrow { +using testing::ElementsAre; +using testing::HasSubstr; +using testing::UnorderedElementsAreArray; -using internal::Executor; +namespace arrow { namespace compute { -void AssertBatchesEqual(const RecordBatchVector& expected, - const RecordBatchVector& actual) { - ASSERT_EQ(expected.size(), actual.size()); - for (size_t i = 0; i < expected.size(); ++i) { - AssertBatchesEqual(*expected[i], *actual[i]); +ExecBatch ExecBatchFromJSON(const std::vector<ValueDescr>& descrs, Review comment: I'll put it in arrow/compute/test_util.h -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org