bkietz commented on a change in pull request #11384:
URL: https://github.com/apache/arrow/pull/11384#discussion_r741257734
##########
File path: cpp/src/arrow/compute/exec/test_util.cc
##########
@@ -235,5 +239,181 @@ void AssertExecBatchesEqual(const
std::shared_ptr<Schema>& schema,
AssertTablesEqual(exp_tab, act_tab);
}
+template <typename T>
+static const T& OptionsAs(const ExecNodeOptions& opts) {
+ const auto& ptr = dynamic_cast<const T&>(opts);
Review comment:
checked_cast should be fine here
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]