Skip to content

Splitting a query into CTEs #21

@MaxHalford

Description

@MaxHalford

As a data analyst, when I debug a view, I spent a lot of time going through each CTE and tracing the logic from one CTE to the other. It would be cool if there a way to automatically split a query into its CTEs, and possible materialize each one. Then I could inspect them separately without having to copy/paste code all over the place. I know that Count has a demo where the splitting would be done automatically in their UI, but I can't find it anymore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions