pitrou commented on code in PR #46261: URL: https://github.com/apache/arrow/pull/46261#discussion_r2104745136
########## c_glib/arrow-glib/compute.cpp: ########## @@ -37,6 +37,9 @@ #include <arrow/acero/exec_plan.h> #include <arrow/acero/options.h> +// Initialize the compute library and register compute kernels. +auto compute_init_status_ = arrow::compute::Initialize(); Review Comment: Returning `Status` is more future-proof if we add more steps that may actually fail. (also, registering the functions _can_ fail, it's just that we currently don't propagate the errors) -- 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