From e2d4f26c4a5b19b5308cbfc6d294f6c217671828 Mon Sep 17 00:00:00 2001 From: Weston Pace Date: Fri, 14 Apr 2023 12:19:58 -0700 Subject: [PATCH] Fix a unit test broken when the output order of the aggregate node was changed --- cpp/src/arrow/acero/hash_aggregate_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/arrow/acero/hash_aggregate_test.cc b/cpp/src/arrow/acero/hash_aggregate_test.cc index 32334418520..dfeae61a6cd 100644 --- a/cpp/src/arrow/acero/hash_aggregate_test.cc +++ b/cpp/src/arrow/acero/hash_aggregate_test.cc @@ -155,7 +155,7 @@ TEST(AggregateSchema, SingleKeyAndSegmentKey) { aggregate::MakeOutputSchema(input_schema, {FieldRef("y")}, {FieldRef("z")}, {{"hash_count", nullptr, "x", "hash_count"}})); AssertSchemaEqual( - schema({field("y", int32()), field("z", int32()), field("hash_count", int64())}), + schema({field("z", int32()), field("y", int32()), field("hash_count", int64())}), output_schema); }