-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10411 from pdet/projection_pushdown_csv
[CSV Reader] Use array instead of unordered_map in projection pushdown
- Loading branch information
Showing
11 changed files
with
149 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
benchmark/micro/csv/sniffer.benchmark | ||
benchmark/micro/csv/read.benchmark | ||
benchmark/micro/csv/small_csv.benchmark | ||
benchmark/micro/csv/null_padding.benchmark | ||
benchmark/micro/csv/null_padding.benchmark | ||
benchmark/micro/csv/projection_pushdown.benchmark |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# name: benchmark/micro/csv/projection_pushdown.benchmark | ||
# description: Runs the CSV Scanner with Projection Pushdown | ||
# group: [csv] | ||
|
||
name CSV Projection Pushdown | ||
group csv | ||
|
||
require tpch | ||
|
||
cache tpch_sf1.duckdb | ||
|
||
load benchmark/tpch/sf1/load.sql | ||
COPY lineitem TO '${BENCHMARK_DIR}/lineitem.csv' (FORMAT CSV, DELIMITER '|', HEADER); | ||
|
||
run | ||
SELECT l_returnflag, MIN(l_orderkey) FROM '${BENCHMARK_DIR}/lineitem.csv' GROUP BY l_returnflag; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.