Hello! I am testing a custom data source node I added to Acero and found myself in need of collecting the results from an Acero query into memory.
Searching the codebase, I found "StartAndCollect" is what many of the tests and benchmarks are using, but I am not sure if that is the public API to do so because: (1) the header file arrow/compute/exec/test_util.h depends on gtest, which seems to be a test-only dependency (2) the method "StartAndCollect" doesn't return a Result/Status object, so errors probably cannot be propagated. Is there a better way / some other public method to achieve this? Thanks, Li