pitrou commented on code in PR #35464: URL: https://github.com/apache/arrow/pull/35464#discussion_r1188883409
########## cpp/src/arrow/acero/query_context.cc: ########## @@ -23,10 +23,17 @@ namespace arrow { using arrow::internal::CpuInfo; namespace acero { +io::IOContext getIoContext(QueryOptions& opts, ExecContext& exec_context) { Review Comment: Several things: 1) Please make this `static` or put this into the anonymous namespace, to minimize the exported symbols 2) Please avoid non-const references: you can pass `const QueryOptions&` and `const ExecContext&` 3) Naming should be CamelCase -- 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