Skip to content

Support pre/post-statements in Python models that yield DataFrames #2866

@georgesittas

Description

@georgesittas

Context: #2539

Summary: it's possible to execute pre/post-statements in Python models, but only at evaluation time. This can be costly, so the item for this issue is to enable setting pre_statements and post_statements similar to SqlBasedModels, so that they can be executed at table creation time and gated using runtime_stage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ImprovementImproves existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions