Skip to content

Commit 145fced

Browse files
committed
Merge branch 'bp/case-when' of github.com:vortex-data/vortex into bp/case-when
2 parents 1d4b947 + 1b26a69 commit 145fced

271 files changed

Lines changed: 1493 additions & 942 deletions

File tree

Some content is hidden

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

.github/runs-on.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ images:
33
platform: "linux"
44
arch: "x64"
55
name: "vortex-ci-*"
6-
owner: "375504701696"
6+
owner: "245040174862"
77
vortex-ci-arm64:
88
platform: "linux"
99
arch: "arm64"
1010
name: "vortex-ci-*"
11-
owner: "375504701696"
11+
owner: "245040174862"

.github/workflows/bench-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
if: github.event.pull_request.head.repo.fork == false
9595
uses: aws-actions/configure-aws-credentials@v5
9696
with:
97-
role-to-assume: arn:aws:iam::375504701696:role/GitHubBenchmarkRole
97+
role-to-assume: arn:aws:iam::245040174862:role/GitHubBenchmarkRole
9898
aws-region: us-east-1
9999

100100
- name: Install uv
@@ -115,7 +115,7 @@ jobs:
115115
| jq -r '.workflow_runs[].head_sha' \
116116
)
117117
118-
python3 scripts/s3-download.py s3://vortex-benchmark-results-database/data.json.gz data.json.gz --no-sign-request
118+
python3 scripts/s3-download.py s3://vortex-ci-benchmark-results/data.json.gz data.json.gz --no-sign-request
119119
gzip -d -c data.json.gz | grep $base_commit_sha > base.json
120120
121121
echo '# Benchmarks: ${{ matrix.benchmark.name }}' > comment.md

.github/workflows/bench.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup AWS CLI
2121
uses: aws-actions/configure-aws-credentials@v5
2222
with:
23-
role-to-assume: arn:aws:iam::375504701696:role/GitHubBenchmarkRole
23+
role-to-assume: arn:aws:iam::245040174862:role/GitHubBenchmarkRole
2424
aws-region: us-east-1
2525
- name: Upload Commit Metadata
2626
shell: bash
@@ -29,7 +29,7 @@ jobs:
2929
3030
sudo apt-get update && sudo apt-get install -y jq
3131
bash scripts/commit-json.sh > new-commit.json
32-
bash scripts/cat-s3.sh vortex-benchmark-results-database commits.json new-commit.json
32+
bash scripts/cat-s3.sh vortex-ci-benchmark-results commits.json new-commit.json
3333
3434
bench:
3535
timeout-minutes: 120
@@ -94,13 +94,13 @@ jobs:
9494
- name: Setup AWS CLI
9595
uses: aws-actions/configure-aws-credentials@v5
9696
with:
97-
role-to-assume: arn:aws:iam::375504701696:role/GitHubBenchmarkRole
97+
role-to-assume: arn:aws:iam::245040174862:role/GitHubBenchmarkRole
9898
aws-region: us-east-1
9999

100100
- name: Upload Benchmark Results
101101
shell: bash
102102
run: |
103-
bash scripts/cat-s3.sh vortex-benchmark-results-database data.json.gz results.json
103+
bash scripts/cat-s3.sh vortex-ci-benchmark-results data.json.gz results.json
104104
105105
- name: Alert incident.io
106106
if: failure()
@@ -137,7 +137,7 @@ jobs:
137137
"subcommand": "tpch",
138138
"name": "TPC-H SF=1 on S3",
139139
"local_dir": "vortex-bench/data/tpch/1.0",
140-
"remote_storage": "s3://vortex-bench-dev-eu/${{github.ref_name}}/${{github.run_id}}/tpch/1.0/",
140+
"remote_storage": "s3://vortex-ci-benchmark-datasets/${{github.ref_name}}/${{github.run_id}}/tpch/1.0/",
141141
"targets": "datafusion:parquet,datafusion:vortex,datafusion:vortex-compact,duckdb:parquet,duckdb:vortex,duckdb:vortex-compact",
142142
"scale_factor": "1.0"
143143
},
@@ -154,7 +154,7 @@ jobs:
154154
"subcommand": "tpch",
155155
"name": "TPC-H SF=10 on S3",
156156
"local_dir": "vortex-bench/data/tpch/10.0",
157-
"remote_storage": "s3://vortex-bench-dev-eu/${{github.ref_name}}/${{github.run_id}}/tpch/10.0/",
157+
"remote_storage": "s3://vortex-ci-benchmark-datasets/${{github.ref_name}}/${{github.run_id}}/tpch/10.0/",
158158
"targets": "datafusion:parquet,datafusion:vortex,datafusion:vortex-compact,duckdb:parquet,duckdb:vortex,duckdb:vortex-compact",
159159
"scale_factor": "10.0"
160160
},
@@ -184,7 +184,7 @@ jobs:
184184
"subcommand": "fineweb",
185185
"name": "FineWeb S3",
186186
"local_dir": "vortex-bench/data/fineweb",
187-
"remote_storage": "s3://vortex-bench-dev-eu/${{github.ref_name}}/${{github.run_id}}/fineweb/",
187+
"remote_storage": "s3://vortex-ci-benchmark-datasets/${{github.ref_name}}/${{github.run_id}}/fineweb/",
188188
"targets": "datafusion:parquet,datafusion:vortex,datafusion:vortex-compact,duckdb:parquet,duckdb:vortex,duckdb:vortex-compact"
189189
},
190190
{

.github/workflows/ci.yml

Lines changed: 48 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ jobs:
5050
name: "Python (lint)"
5151
runs-on:
5252
- runs-on=${{ github.run_id }}
53-
- family=m7i+m7i-flex+m7a
54-
- cpu=16
53+
- family=m8azn
54+
- cpu=2
5555
- image=ubuntu24-full-x64
5656
- extras=s3-cache
5757
- tag=python-lint
@@ -84,8 +84,8 @@ jobs:
8484
name: "Python (test)"
8585
runs-on:
8686
- runs-on=${{ github.run_id }}
87-
- family=m7i+m7i-flex+m7a
88-
- cpu=16
87+
- family=m8azn
88+
- cpu=12
8989
- image=ubuntu24-full-x64
9090
- extras=s3-cache
9191
- tag=python-test
@@ -175,8 +175,8 @@ jobs:
175175
timeout-minutes: 120
176176
runs-on:
177177
- runs-on=${{ github.run_id }}
178-
- family=m7i+m7i-flex+m7a
179-
- cpu=8
178+
- family=m8azn
179+
- cpu=2
180180
- image=ubuntu24-full-x64
181181
- extras=s3-cache
182182
- tag=rust-docs
@@ -199,8 +199,8 @@ jobs:
199199
timeout-minutes: 120
200200
runs-on:
201201
- runs-on=${{ github.run_id }}
202-
- family=m7i+m7i-flex+m7a
203-
- cpu=8
202+
- family=m8azn
203+
- cpu=${{ matrix.config.cpu }}
204204
- image=ubuntu24-full-x64
205205
- extras=s3-cache
206206
- tag=${{ matrix.config.name }}
@@ -212,13 +212,17 @@ jobs:
212212
matrix:
213213
config:
214214
- name: "all-features"
215+
cpu: 4
215216
args: "--all-features --all-targets"
216217
- name: "default features"
218+
cpu: 4
217219
args: "--all-targets"
218220
- name: "with tokio dispatcher"
221+
cpu: 2
219222
# Only build the crates that have the tokio features, not re-building other crates with no-default-features
220223
args: "--no-default-features --features tokio --all-targets -p vortex -p vortex-io -p vortex-file -p vortex-layout"
221224
- name: "wasm32 with default features"
225+
cpu: 4
222226
target: wasm32-unknown-unknown
223227
env:
224228
rustflags: "RUSTFLAGS='-A warnings --cfg getrandom_backend=\"wasm_js\"'"
@@ -249,8 +253,8 @@ jobs:
249253
timeout-minutes: 120
250254
runs-on:
251255
- runs-on=${{ github.run_id }}
252-
- family=m7i+m7i-flex+m7a
253-
- cpu=8
256+
- family=m8azn
257+
- cpu=1
254258
- image=ubuntu24-full-x64
255259
- extras=s3-cache
256260
- tag=rust-min-deps
@@ -271,8 +275,8 @@ jobs:
271275
timeout-minutes: 120
272276
runs-on:
273277
- runs-on=${{ github.run_id }}
274-
- family=m7i+m7i-flex+m7a
275-
- cpu=16
278+
- family=m8azn
279+
- cpu=12
276280
- image=ubuntu24-full-x64
277281
- extras=s3-cache
278282
- tag=rust-lint
@@ -316,8 +320,8 @@ jobs:
316320
timeout-minutes: 120
317321
runs-on:
318322
- runs-on=${{ github.run_id }}
319-
- family=m7i+m7i-flex+m7a
320-
- cpu=16
323+
- family=m8azn
324+
- cpu=4
321325
- image=ubuntu24-full-x64
322326
- extras=s3-cache
323327
- tag=rust-lint-no-default
@@ -342,8 +346,8 @@ jobs:
342346
timeout-minutes: 120
343347
runs-on:
344348
- runs-on=${{ github.run_id }}
345-
- family=m7i+m7i-flex+m7a
346-
- cpu=16
349+
- family=m8azn
350+
- cpu=1
347351
- image=ubuntu24-full-x64
348352
- extras=s3-cache
349353
- tag=public-api
@@ -383,10 +387,10 @@ jobs:
383387
matrix:
384388
include:
385389
- suite: tests
386-
cpu: 32
390+
cpu: 24
387391
runs-on:
388392
- runs-on=${{ github.run_id }}
389-
- family=m7i+m7i-flex+m7a
393+
- family=m8azn
390394
- cpu=${{ matrix.cpu }}
391395
- image=ubuntu24-full-x64
392396
- extras=s3-cache
@@ -443,8 +447,8 @@ jobs:
443447
timeout-minutes: 120
444448
runs-on:
445449
- runs-on=${{ github.run_id }}
446-
- family=m7i+m7i-flex+m7a
447-
- cpu=16
450+
- family=m8azn
451+
- cpu=12
448452
- image=ubuntu24-full-x64
449453
- extras=s3-cache
450454
- tag=rust-test-sanitizer
@@ -508,6 +512,7 @@ jobs:
508512
- family=g5+g4dn+g6
509513
- cpu=8
510514
- image=ubuntu24-gpu-x64
515+
- spot=true
511516
- extras=s3-cache
512517
- tag=cuda-build
513518
steps:
@@ -535,6 +540,7 @@ jobs:
535540
- family=g5+g4dn+g6
536541
- cpu=8
537542
- image=ubuntu24-gpu-x64
543+
- spot=true
538544
- extras=s3-cache
539545
- tag=cuda-lint
540546
steps:
@@ -563,6 +569,7 @@ jobs:
563569
- family=g5+g4dn+g6
564570
- cpu=8
565571
- image=ubuntu24-gpu-x64
572+
- spot=true
566573
- extras=s3-cache
567574
- tag=cuda-tests
568575
steps:
@@ -606,6 +613,7 @@ jobs:
606613
- family=g5+g4dn+g6
607614
- cpu=8
608615
- image=ubuntu24-gpu-x64
616+
- spot=true
609617
- extras=s3-cache
610618
- tag=cuda-test-sanitizer
611619
steps:
@@ -647,6 +655,7 @@ jobs:
647655
- family=g5+g4dn+g6
648656
- cpu=8
649657
- image=ubuntu24-gpu-x64
658+
- spot=true
650659
- extras=s3-cache
651660
- tag=cuda-test-cudf
652661
steps:
@@ -682,7 +691,7 @@ jobs:
682691
- os: linux-arm64
683692
runner:
684693
- runs-on=${{ github.run_id }}
685-
- family=m7g
694+
- family=m8g
686695
- cpu=8
687696
- image=ubuntu24-full-arm64
688697
- extras=s3-cache
@@ -740,8 +749,8 @@ jobs:
740749
name: "Java"
741750
runs-on:
742751
- runs-on=${{ github.run_id }}
743-
- family=m7i+m7i-flex+m7a
744-
- cpu=16
752+
- family=m8azn
753+
- cpu=4
745754
- image=ubuntu24-full-x64
746755
- extras=s3-cache
747756
- tag=java
@@ -765,19 +774,20 @@ jobs:
765774
strategy:
766775
matrix:
767776
include:
768-
- { shard: 1, name: "Core foundation", packages: "vortex-buffer vortex-error" }
769-
- { shard: 2, name: "Arrays", packages: "vortex-array", features: "--features _test-harness" }
770-
- { shard: 3, name: "Main library", packages: "vortex" }
771-
- { shard: 4, name: "Encodings 1", packages: "vortex-alp vortex-bytebool vortex-datetime-parts" }
772-
- { shard: 5, name: "Encodings 2", packages: "vortex-decimal-byte-parts vortex-fastlanes vortex-fsst", features: "--features _test-harness" }
773-
- { shard: 6, name: "Encodings 3", packages: "vortex-pco vortex-runend vortex-sequence" }
774-
- { shard: 7, name: "Encodings 4", packages: "vortex-sparse vortex-zigzag vortex-zstd" }
775-
- { shard: 8, name: "Storage formats", packages: "vortex-flatbuffers vortex-proto vortex-btrblocks" }
777+
# - { shard: 1, cpu: 8, name: "Core foundation", packages: "vortex-buffer vortex-error" }
778+
- { shard: 2, cpu: 16, name: "Arrays", packages: "vortex-array", features: "--features _test-harness" }
779+
# - { shard: 3, cpu: 16, name: "Main library", packages: "vortex" }
780+
# - { shard: 4, cpu: 8, name: "Encodings 1", packages: "vortex-alp vortex-bytebool vortex-datetime-parts" }
781+
# - { shard: 5, cpu: 16, name: "Encodings 2", packages: "vortex-decimal-byte-parts vortex-fastlanes vortex-fsst", features: "--features _test-harness" }
782+
# - { shard: 6, cpu: 8, name: "Encodings 3", packages: "vortex-pco vortex-runend vortex-sequence" }
783+
# - { shard: 7, cpu: 8, name: "Encodings 4", packages: "vortex-sparse vortex-zigzag vortex-zstd" }
784+
# - { shard: 8, cpu: 8, name: "Storage formats", packages: "vortex-flatbuffers vortex-proto vortex-btrblocks" }
776785
name: "Benchmark with Codspeed (Shard #${{ matrix.shard }})"
777786
timeout-minutes: 120
778787
runs-on:
779788
- runs-on=${{ github.run_id }}
780-
- family=c7i.8xlarge
789+
- family=m8i
790+
- cpu=${{ matrix.cpu }}
781791
- extras=s3-cache
782792
- image=ubuntu24-full-x64
783793
- tag=bench-codspeed-${{ matrix.shard }}
@@ -827,8 +837,8 @@ jobs:
827837
timeout-minutes: 120
828838
runs-on:
829839
- runs-on=${{ github.run_id }}
830-
- family=m7i+m7i-flex+m7a
831-
- cpu=8
840+
- family=m8azn
841+
- cpu=1
832842
- image=ubuntu24-full-x64
833843
- extras=s3-cache
834844
- tag=cxx-build
@@ -857,8 +867,8 @@ jobs:
857867
name: "SQL logic tests"
858868
runs-on:
859869
- runs-on=${{ github.run_id }}
860-
- family=m7i+m7i-flex+m7a
861-
- cpu=8
870+
- family=m8azn
871+
- cpu=1
862872
- image=ubuntu24-full-x64
863873
- extras=s3-cache
864874
- tag=sql-logic-test
@@ -981,8 +991,8 @@ jobs:
981991
timeout-minutes: 120
982992
runs-on:
983993
- runs-on=${{ github.run_id }}
984-
- family=m7i+m7i-flex+m7a
985-
- cpu=8
994+
- family=m8azn
995+
- cpu=1
986996
- image=ubuntu24-full-x64
987997
- extras=s3-cache
988998
- tag=rust-publish-dry-run

.github/workflows/close-fixed-fuzzer-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Close Fixed Fuzzer Issues
22

33
on:
44
schedule:
5-
- cron: "0 0 * * 0" # every Sunday at midnight UTC
5+
- cron: "0 0 * * *" # every night at midnight UTC
66
workflow_dispatch:
77
inputs:
88
dry_run:

.github/workflows/nightly-bench.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
"subcommand": "tpch",
4747
"name": "TPC-H on S3",
4848
"local_dir": "vortex-bench/data/tpch/10.0",
49-
"remote_storage": "s3://vortex-bench-dev-eu/${{github.ref_name}}/${{github.run_id}}/tpch/10.0/",
49+
"remote_storage": "s3://vortex-ci-benchmark-datasets/${{github.ref_name}}/${{github.run_id}}/tpch/10.0/",
5050
"targets": "datafusion:parquet,datafusion:vortex,duckdb:parquet,duckdb:vortex",
5151
"scale_factor": "10.0"
5252
},
@@ -62,7 +62,7 @@ jobs:
6262
"subcommand": "tpch",
6363
"name": "TPC-H on S3",
6464
"local_dir": "vortex-bench/data/tpch/100.0",
65-
"remote_storage": "s3://vortex-bench-dev-eu/${{github.ref_name}}/${{github.run_id}}/tpch/100.0/",
65+
"remote_storage": "s3://vortex-ci-benchmark-datasets/${{github.ref_name}}/${{github.run_id}}/tpch/100.0/",
6666
"targets": "datafusion:parquet,duckdb:parquet,duckdb:vortex",
6767
"scale_factor": "100.0"
6868
},

0 commit comments

Comments
 (0)