Skip to content

Commit 3db29a5

Browse files
committed
fix(aggregate): resolve extension adapter lint failures
Signed-off-by: Joe Isaacs <[email protected]>
1 parent 241723d commit 3db29a5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎vortex-array/src/aggregate_fn/extension.rs‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ pub struct ExtensionAggregate<A: AggregateFnVTable, E: ExtVTable> {
5757
impl<A: AggregateFnVTable, E: ExtVTable> ExtensionAggregate<A, E> {
5858
/// Define `aggregate` over extension type `ext`.
5959
pub fn new(aggregate: A, ext: E) -> Self {
60+
#[expect(clippy::disallowed_methods, reason = "interning a dynamic id")]
6061
let id = AggregateFnId::new(&format!("{}[{}]", aggregate.id(), ext.id()));
6162
Self { aggregate, ext, id }
6263
}
@@ -189,7 +190,10 @@ impl<A: AggregateFnVTable, E: ExtVTable> AggregateFnVTable for ExtensionAggregat
189190
}
190191
Columnar::Constant(constant) => {
191192
let storage = constant.scalar().as_extension().to_storage_scalar();
192-
state.accumulate(&ConstantArray::new(storage, constant.len()).into_array(), ctx)
193+
state.accumulate(
194+
&ConstantArray::new(storage, constant.len()).into_array(),
195+
ctx,
196+
)
193197
}
194198
Columnar::Canonical(_) => {
195199
vortex_bail!(

0 commit comments

Comments
 (0)