rtpsw commented on code in PR #35513: URL: https://github.com/apache/arrow/pull/35513#discussion_r1196714240
########## cpp/src/arrow/engine/substrait/function_test.cc: ########## @@ -601,6 +603,7 @@ std::shared_ptr<Table> GetOutputTableForAggregateCase( std::shared_ptr<acero::ExecPlan> PlanFromAggregateCase( const AggregateTestCase& test_case, std::shared_ptr<Table>* output_table, bool with_keys) { + static ExecContext ctx_for_ordered; Review Comment: Here are [a couple of instances](https://github.com/search?q=repo%3Aapache%2Farrow%20%22static%20ExecContext%22&type=code) where this is used. -- 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