Skip to content

Commit 7dea9df

Browse files
committed
Add comment re alias filter pushdown
1 parent 854f255 commit 7dea9df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

datafusion/physical-plan/src/projection.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ impl ExecutionPlan for ProjectionExec {
285285
parent_filters: Vec<Arc<dyn PhysicalExpr>>,
286286
_config: &ConfigOptions,
287287
) -> Result<FilterDescription> {
288+
// In future, we can try to handle invert aliases here.
289+
// For the time being, we pass through untransformed filters, so filters on aliases are not handled.
288290
FilterDescription::from_children(parent_filters, &self.children())
289291
}
290292

0 commit comments

Comments
 (0)