Skip to content

Apache DataFusion SQL Query Engine

MINOR: the .tbl files don't have headers. after conversion to parquet, it was missing a row. (#3620)

Kirk Mitchener7325b83aec68
diff --git a/benchmarks/src/bin/tpch.rs b/benchmarks/src/bin/tpch.rs
index d0712876f5..d3cab89a2f 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");