From 245a6a69fe34aac5422afc8accac4591b6d8caa7 Mon Sep 17 00:00:00 2001 From: Ruoxi Sun Date: Tue, 23 Jan 2024 15:54:14 +0800 Subject: [PATCH] Minor fix --- cpp/src/arrow/acero/hash_join_node_test.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cpp/src/arrow/acero/hash_join_node_test.cc b/cpp/src/arrow/acero/hash_join_node_test.cc index 36997e0eb3707..902ac213969aa 100644 --- a/cpp/src/arrow/acero/hash_join_node_test.cc +++ b/cpp/src/arrow/acero/hash_join_node_test.cc @@ -1898,17 +1898,17 @@ class ResidualFilterCaseRunner { ResidualFilterCaseRunner(BatchesWithSchema left_input, BatchesWithSchema right_input) : left_input_(std::move(left_input)), right_input_(std::move(right_input)) {} - void Run(JoinType join_type, const std::vector& left_keys, - const std::vector& right_keys, Expression filter, - const std::vector& expected) const { + void Run(JoinType join_type, std::vector left_keys, + std::vector right_keys, Expression filter, + std::vector expected) const { RunInternal(HashJoinNodeOptions{join_type, std::move(left_keys), std::move(right_keys), std::move(filter)}, expected); } void Run(JoinType join_type, std::vector left_keys, - const std::vector right_keys, std::vector left_output, - const std::vector right_output, Expression filter, + std::vector right_keys, std::vector left_output, + std::vector right_output, Expression filter, const std::vector& expected) const { RunInternal(HashJoinNodeOptions{join_type, std::move(left_keys), std::move(right_keys), std::move(left_output), @@ -2007,9 +2007,9 @@ class ResidualFilterCaseRunner { TEST(HashJoin, ResidualFilter) { BatchesWithSchema input_left; input_left.batches = {ExecBatchFromJSON({int32(), int32(), utf8()}, R"([ - [1, 6, "alpha"], - [2, 5, "beta"], - [3, 4, "alpha"]])")}; + [1, 6, "alpha"], + [2, 5, "beta"], + [3, 4, "alpha"]])")}; input_left.schema = schema({field("l1", int32()), field("l2", int32()), field("l_str", utf8())});