Skip to content

Commit 9da352f

Browse files
committed
merge
Signed-off-by: Nicholas Gates <[email protected]>
2 parents ee634d4 + 35d12a3 commit 9da352f

File tree

48 files changed

+1264
-1219
lines changed

Some content is hidden

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

48 files changed

+1264
-1219
lines changed

.github/release-drafter.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ categories:
1515
collapse-after: 8
1616
labels:
1717
- "fix"
18+
- title: "📖 Documentation"
19+
labels:
20+
- "documentation"
1821
- title: "🧰 Maintenance"
1922
labels:
2023
- "chore"

.github/workflows/bench-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
aws-region: us-east-1
9595

9696
- name: Install uv
97-
uses: spiraldb/actions/.github/actions/[email protected].2
97+
uses: spiraldb/actions/.github/actions/[email protected].3
9898
with:
9999
sync: false
100100

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
timeout-minutes: 120
2727
steps:
2828
- uses: actions/checkout@v5
29-
- uses: spiraldb/actions/.github/actions/[email protected].2
29+
- uses: spiraldb/actions/.github/actions/[email protected].3
3030

3131
validate-workflow-yaml:
3232
runs-on: ubuntu-latest
@@ -49,7 +49,7 @@ jobs:
4949
steps:
5050
- uses: actions/checkout@v5
5151
- name: Install uv
52-
uses: spiraldb/actions/.github/actions/[email protected].2
52+
uses: spiraldb/actions/.github/actions/[email protected].3
5353
with:
5454
sync: false
5555
prune-cache: false
@@ -72,7 +72,7 @@ jobs:
7272
with:
7373
repo-token: ${{ secrets.GITHUB_TOKEN }}
7474
- name: Install uv
75-
uses: spiraldb/actions/.github/actions/[email protected].2
75+
uses: spiraldb/actions/.github/actions/[email protected].3
7676
with:
7777
sync: false
7878
prune-cache: false

.github/workflows/claude.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232
repo-token: ${{ secrets.GITHUB_TOKEN }}
3333
- name: Install uv
34-
uses: spiraldb/actions/.github/actions/[email protected].2
34+
uses: spiraldb/actions/.github/actions/[email protected].3
3535
with:
3636
sync: false
3737

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
java-version: "17"
2424
distribution: "temurin"
2525
- name: Install uv
26-
uses: spiraldb/actions/.github/actions/[email protected].2
26+
uses: spiraldb/actions/.github/actions/[email protected].3
2727
with:
2828
sync: false
2929
prune-cache: false

.github/workflows/labels.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
run: |
2929
REQUIRED_LABELS=(
3030
"chore"
31+
"documentation"
3132
"feature"
3233
"fix"
3334
"performance"

.github/workflows/sql-benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ jobs:
223223
224224
- name: Install uv
225225
if: inputs.mode == 'pr'
226-
uses: spiraldb/actions/.github/actions/[email protected].2
226+
uses: spiraldb/actions/.github/actions/[email protected].3
227227
with:
228228
sync: false
229229
- name: Compare results

.github/workflows/typos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
- name: Checkout Actions Repository
1717
uses: actions/checkout@v5
1818
- name: Spell Check Repo
19-
uses: crate-ci/[email protected].0
19+
uses: crate-ci/[email protected].2

Cargo.lock

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

encodings/fastlanes/benches/pipeline_bitpacking.rs

Lines changed: 18 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -66,33 +66,21 @@ pub fn decompress_bitpacking_late_filter<T: NativePType>(bencher: Bencher, fract
6666
.bench_values(|mask| filter(array.to_canonical().as_ref(), &mask).unwrap());
6767
}
6868

69-
// TODO(ngates): bring back benchmarks once operator API is stable.
70-
// #[divan::bench(types = [i8, i16, i32, i64], args = TRUE_COUNT)]
71-
// pub fn decompress_bitpacking_pipeline_filter<T: Element + NativePType>(
72-
// bencher: Bencher,
73-
// fraction_kept: f64,
74-
// ) {
75-
// let mut rng = StdRng::seed_from_u64(0);
76-
// let values = (0..LENGTH)
77-
// .map(|_| T::from(rng.random_range(0..100)).unwrap())
78-
// .collect::<BufferMut<T>>()
79-
// .into_array()
80-
// .to_primitive();
81-
// let array = bitpack_to_best_bit_width(&values).unwrap();
82-
//
83-
// let mask = (0..LENGTH)
84-
// .map(|_| rng.random_bool(fraction_kept))
85-
// .collect::<BooleanBuffer>();
86-
//
87-
// bencher
88-
// .with_inputs(|| Mask::from_buffer(mask.clone()))
89-
// .bench_local_values(|mask| {
90-
// export_canonical_pipeline_expr(
91-
// array.dtype(),
92-
// array.len(),
93-
// array.to_operator().unwrap().unwrap().as_ref(),
94-
// &mask,
95-
// )
96-
// .unwrap()
97-
// });
98-
// }
69+
#[divan::bench(types = [i8, i16, i32, i64], args = TRUE_COUNT)]
70+
pub fn decompress_bitpacking_pipeline_filter<T: NativePType>(bencher: Bencher, fraction_kept: f64) {
71+
let mut rng = StdRng::seed_from_u64(0);
72+
let values = (0..LENGTH)
73+
.map(|_| T::from(rng.random_range(0..100)).unwrap())
74+
.collect::<BufferMut<T>>()
75+
.into_array()
76+
.to_primitive();
77+
let array = bitpack_to_best_bit_width(&values).unwrap();
78+
79+
let mask = (0..LENGTH)
80+
.map(|_| rng.random_bool(fraction_kept))
81+
.collect::<BitBuffer>();
82+
83+
bencher
84+
.with_inputs(|| Mask::from(mask.clone()))
85+
.bench_local_values(|mask| array.execute_with_selection(&mask).unwrap());
86+
}

0 commit comments

Comments
 (0)