Skip to content

Commit 2de57ee

Browse files
committed
Add comment re alias filter pushdown
1 parent 854f255 commit 2de57ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

datafusion/physical-plan/src/projection.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,9 @@ impl ExecutionPlan for ProjectionExec {
285285
parent_filters: Vec<Arc<dyn PhysicalExpr>>,
286286
_config: &ConfigOptions,
287287
) -> Result<FilterDescription> {
288+
// TODO: In future, we can try to handle inverting aliases here.
289+
// For the time being, we pass through untransformed filters, so filters on aliases are not handled.
290+
// https://github.com/apache/datafusion/issues/17246
288291
FilterDescription::from_children(parent_filters, &self.children())
289292
}
290293

0 commit comments

Comments
 (0)