alamb commented on a change in pull request #9703: URL: https://github.com/apache/arrow/pull/9703#discussion_r593901365
########## File path: rust/benchmarks/src/bin/tpch.rs ########## @@ -1636,7 +1636,7 @@ mod tests { .file_extension(".out"); let df = ctx.read_csv(&format!("{}/answers/q{}.out", path, n), options)?; let df = df.select( - &get_answer_schema(n) Review comment: this is a pretty good example -- the `answer_schema` was created and immediately dropped after calling `df.select()`. Now the exprs don't need to be copied ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org