From 86a6bb9fcbf9ccda79279bb85f49c53d73e9125b Mon Sep 17 00:00:00 2001 From: LuQQiu Date: Thu, 9 Oct 2025 09:33:38 -0700 Subject: [PATCH] chore: supports limit push down through MetadataEraserExec (#2679) For limit to sucessfully push down to FilteredReadExec https://github.com/lancedb/lance/pull/4795/ --- rust/lancedb/src/table/datafusion.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rust/lancedb/src/table/datafusion.rs b/rust/lancedb/src/table/datafusion.rs index 35eb3e69..308e2760 100644 --- a/rust/lancedb/src/table/datafusion.rs +++ b/rust/lancedb/src/table/datafusion.rs @@ -125,6 +125,10 @@ impl ExecutionPlan for MetadataEraserExec { fn partition_statistics(&self, partition: Option) -> DataFusionResult { self.input.partition_statistics(partition) } + + fn supports_limit_pushdown(&self) -> bool { + true + } } #[derive(Debug)]