seddonm1 commented on a change in pull request #9015:
URL: https://github.com/apache/arrow/pull/9015#discussion_r549037976
##########
File path: rust/benchmarks/src/bin/tpch.rs
##########
@@ -1003,12 +1004,11 @@ async fn execute_query(
if debug {
pretty::print_batches(&result)?;
}
- Ok(())
+ Ok(result)
}
-async fn convert_tbl(opt: ConvertOpt) -> Result<()> {
+async fn convert_tbl(opt: ConvertOpt) ->
Result<Vec<arrow::record_batch::RecordBatch>> {
Review comment:
Ok. I have refactored the main fn to allow the different result
signatures as it is definitely better. Thanks 👍
----------------------------------------------------------------
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:
[email protected]