Skip to content

Commit 5889962

Browse files
committed
perf[ext]: pushdown filter + constant
Signed-off-by: Joe Isaacs <[email protected]>
1 parent 9e22b2b commit 5889962

File tree

1 file changed

+2
-1
lines changed
  • vortex-array/src/arrays/extension/vtable

1 file changed

+2
-1
lines changed

vortex-array/src/arrays/extension/vtable/rules.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ impl ArrayParentReduceRule<ExtensionVTable> for ExtensionFilterPushDownRule {
3838
&self,
3939
child: &ExtensionArray,
4040
parent: &FilterArray,
41-
_child_idx: usize,
41+
child_idx: usize,
4242
) -> VortexResult<Option<ArrayRef>> {
43+
debug_assert_eq!(child_idx, 0);
4344
let filtered_storage = child
4445
.storage()
4546
.clone()

0 commit comments

Comments
 (0)