bkietz commented on code in PR #46261: URL: https://github.com/apache/arrow/pull/46261#discussion_r2098670421
########## cpp/examples/tutorial_examples/dataset_example.cc: ########## @@ -75,6 +76,8 @@ arrow::Result<std::string> CreateExampleParquetDataset( } arrow::Status PrepareEnv() { + // Initilize the compute module to register the required kernels for Dataset + ARROW_RETURN_NOT_OK(arrow::compute::Initialize()); Review Comment: [arrow::dataset::internal::Initialize]( https://github.com/apache/arrow/blob/a1707dba7c9ec4265c048586c485c526048cf162/cpp/src/arrow/dataset/plan.h#L29) could certainly call `arrow::compute::Initialize`. However that function only registers dataset ExecNode factories, and isn't used here. Implicit initialization is something I'd recommend avoiding until we can provide better guarantees -- 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