Skip to content

Commit 9d125aa

Browse files
committed
fix(datafusion): restore DeltaScanExec delta_plan accessor
The DF52 scan visitor expects to extract the KernelScanPlan from DeltaScanExec; keep a small accessor to avoid depending on struct field visibility. Signed-off-by: Ethan Urbanski <ethan@urbanskitech.com>
1 parent 00e01d6 commit 9d125aa

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • crates/core/src/delta_datafusion/table_provider/next/scan

crates/core/src/delta_datafusion/table_provider/next/scan/exec.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,8 @@ impl DeltaScanExec {
151151
}
152152

153153
pub(crate) fn delta_plan(&self) -> &KernelScanPlan {
154-
&self.scan_plan
154+
self.scan_plan.as_ref()
155155
}
156-
157156
/// Transform the statistics from the inner physical parquet read plan to the logical
158157
/// schema we expose via the table provider. We do not attempt to provide meaningful
159158
/// statistics for metadata columns as we do not expect these to be useful in planning.

0 commit comments

Comments
 (0)