pitrou opened a new pull request, #37501: URL: https://github.com/apache/arrow/pull/37501
### Rationale for this change Datasets and Substrait are heavy subcomponents (as they have non-trivial dependencies), so should not be enabled unwillingly in all CI builds. ### What changes are included in this PR? Disable Dataset and Substrait in `ci/scripts/cpp_build.sh`, enable them explicitly in relevant builds. ### Are these changes tested? Yes, by existing CI jobs. ### Are there any user-facing changes? No. <!-- Please uncomment the line below (and provide explanation) if the changes fix either (a) a security vulnerability, (b) a bug that caused incorrect or invalid data to be produced, or (c) a bug that causes a crash (even when the API contract is upheld). We use this to highlight fixes to issues that may affect users without their knowledge. For this reason, fixing bugs that cause errors don't count, since those are usually obvious. --> <!-- **This PR contains a "Critical Fix".** --> -- 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