Skip to content

Commit 2e82b97

Browse files
authored
Merge branch 'main' into row_group_limit_pruning
2 parents f105bb7 + d103d88 commit 2e82b97

File tree

105 files changed

+8554
-2185
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+8554
-2185
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ updates:
2323
interval: weekly
2424
target-branch: main
2525
labels: [auto-dependencies]
26+
open-pull-requests-limit: 15
2627
ignore:
2728
# major version bumps of arrow* and parquet are handled manually
2829
- dependency-name: "arrow*"

.github/workflows/audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
steps:
4343
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4444
- name: Install cargo-audit
45-
uses: taiki-e/install-action@0e76c5c569f13f7eb21e8e5b26fe710062b57b62 # v2.65.13
45+
uses: taiki-e/install-action@3522286d40783523f9c7880e33f785905b4c20d0 # v2.66.1
4646
with:
4747
tool: cargo-audit
4848
- name: Run audit check

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ jobs:
421421
sudo apt-get update -qq
422422
sudo apt-get install -y -qq clang
423423
- name: Setup wasm-pack
424-
uses: taiki-e/install-action@0e76c5c569f13f7eb21e8e5b26fe710062b57b62 # v2.65.13
424+
uses: taiki-e/install-action@3522286d40783523f9c7880e33f785905b4c20d0 # v2.66.1
425425
with:
426426
tool: wasm-pack
427427
- name: Run tests with headless mode
@@ -741,7 +741,7 @@ jobs:
741741
- name: Setup Rust toolchain
742742
uses: ./.github/actions/setup-builder
743743
- name: Install cargo-msrv
744-
uses: taiki-e/install-action@0e76c5c569f13f7eb21e8e5b26fe710062b57b62 # v2.65.13
744+
uses: taiki-e/install-action@3522286d40783523f9c7880e33f785905b4c20d0 # v2.66.1
745745
with:
746746
tool: cargo-msrv
747747

Cargo.lock

Lines changed: 35 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ glob = "0.3.0"
158158
half = { version = "2.7.0", default-features = false }
159159
hashbrown = { version = "0.16.1" }
160160
hex = { version = "0.4.3" }
161-
indexmap = "2.12.1"
161+
indexmap = "2.13.0"
162162
insta = { version = "1.46.0", features = ["glob", "filters"] }
163163
itertools = "0.14"
164164
liblzma = { version = "0.4.4", features = ["static"] }

benchmarks/bench.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,7 @@ main() {
322322
echo "NLJ benchmark does not require data generation"
323323
;;
324324
hj)
325-
# hj uses range() function, no data generation needed
326-
echo "HJ benchmark does not require data generation"
325+
data_tpch "10" "parquet"
327326
;;
328327
smj)
329328
# smj uses range() function, no data generation needed
@@ -1228,10 +1227,11 @@ run_nlj() {
12281227

12291228
# Runs the hj benchmark
12301229
run_hj() {
1230+
TPCH_DIR="${DATA_DIR}/tpch_sf10"
12311231
RESULTS_FILE="${RESULTS_DIR}/hj.json"
12321232
echo "RESULTS_FILE: ${RESULTS_FILE}"
12331233
echo "Running hj benchmark..."
1234-
debug_run $CARGO_COMMAND --bin dfbench -- hj --iterations 5 -o "${RESULTS_FILE}" ${QUERY_ARG}
1234+
debug_run $CARGO_COMMAND --bin dfbench -- hj --iterations 5 --path "${TPCH_DIR}" -o "${RESULTS_FILE}" ${QUERY_ARG}
12351235
}
12361236

12371237
# Runs the smj benchmark

benchmarks/compare.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -154,17 +154,17 @@ def compare(
154154
baseline = BenchmarkRun.load_from_file(baseline_path)
155155
comparison = BenchmarkRun.load_from_file(comparison_path)
156156

157-
console = Console()
157+
console = Console(width=200)
158158

159159
# use basename as the column names
160-
baseline_header = baseline_path.parent.stem
161-
comparison_header = comparison_path.parent.stem
160+
baseline_header = baseline_path.parent.name
161+
comparison_header = comparison_path.parent.name
162162

163163
table = Table(show_header=True, header_style="bold magenta")
164-
table.add_column("Query", style="dim", width=12)
165-
table.add_column(baseline_header, justify="right", style="dim")
166-
table.add_column(comparison_header, justify="right", style="dim")
167-
table.add_column("Change", justify="right", style="dim")
164+
table.add_column("Query", style="dim", no_wrap=True)
165+
table.add_column(baseline_header, justify="right", style="dim", no_wrap=True)
166+
table.add_column(comparison_header, justify="right", style="dim", no_wrap=True)
167+
table.add_column("Change", justify="right", style="dim", no_wrap=True)
168168

169169
faster_count = 0
170170
slower_count = 0
@@ -175,12 +175,12 @@ def compare(
175175

176176
for baseline_result, comparison_result in zip(baseline.queries, comparison.queries):
177177
assert baseline_result.query == comparison_result.query
178-
178+
179179
base_failed = not baseline_result.success
180-
comp_failed = not comparison_result.success
180+
comp_failed = not comparison_result.success
181181
# If a query fails, its execution time is excluded from the performance comparison
182182
if base_failed or comp_failed:
183-
change_text = "incomparable"
183+
change_text = "incomparable"
184184
failure_count += 1
185185
table.add_row(
186186
f"Q{baseline_result.query}",

0 commit comments

Comments
 (0)