Skip to content

Commit

Permalink
Propagate size from datafusion to VortexReadBuilder (#1636)
Browse files Browse the repository at this point in the history
  • Loading branch information
robert3005 authored Dec 10, 2024
1 parent 55754ed commit 0d018de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vortex-datafusion/src/persistent/opener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ impl FileOpener for VortexFileOpener {
read_at,
LayoutDeserializer::new(self.ctx.clone(), Arc::new(LayoutContext::default())),
)
.with_io_dispatcher(IO_DISPATCHER.clone());
.with_io_dispatcher(IO_DISPATCHER.clone())
.with_file_size(file_meta.object_meta.size as u64);

// We split the predicate and filter out the conjunction members that we can't push down
let row_filter = self
Expand Down

0 comments on commit 0d018de

Please sign in to comment.