Skip to content

Support inlining view / dataframes logical plan #3913

@Dandandan

Description

@Dandandan

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
DataFusion supports filter/limit/projection pushdown for views and dataframes via the tableprovider interface after #3905 . Inlining the LogicalPlan (as an optimization rule) would bring more opportunities for optimizations.

Describe the solution you'd like
Support optimization rule that inlines view and dataframes.
A method could be added to the tableprovider trait that returns a Option<LogicalPlan>. This can be used by an optimization rule (e.g. InlineTableProvider).

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestperformanceMake DataFusion faster

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions