This is an automated email from the ASF dual-hosted git repository.
agrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
The following commit(s) were added to refs/heads/master by this push:
new 7325b83ae MINOR: the .tbl files don't have headers. after conversion
to parquet, it was missing a row. (#3620)
7325b83ae is described below
commit 7325b83aec682b3b8b863cc2681fd0568c266a6b
Author: Kirk Mitchener <[email protected]>
AuthorDate: Mon Sep 26 14:58:54 2022 -0400
MINOR: the .tbl files don't have headers. after conversion to parquet, it
was missing a row. (#3620)
---
benchmarks/src/bin/tpch.rs | 1 +
1 file changed, 1 insertion(+)
diff --git a/benchmarks/src/bin/tpch.rs b/benchmarks/src/bin/tpch.rs
index d0712876f..d3cab89a2 100644
--- a/benchmarks/src/bin/tpch.rs
+++ b/benchmarks/src/bin/tpch.rs
@@ -327,6 +327,7 @@ async fn convert_tbl(opt: ConvertOpt) -> Result<()> {
let input_path = format!("{}/{}.tbl",
opt.input_path.to_str().unwrap(), table);
let options = CsvReadOptions::new()
.schema(&schema)
+ .has_header(false)
.delimiter(b'|')
.file_extension(".tbl");