Skip to content

Support for non-scalar values in WITH clause #2416

@simPod

Description

@simPod

Will ClickHouse support WITH clause (common table expression, cte)? Like https://www.postgresql.org/docs/9.1/static/queries-with.html

The thing that with CTE I can define temp dataset I can then query multiple times in one query statement. Currently, I'm running the same query twice as two subqueries. For example 1) to find distinct IDs and then 2) to get actual data that can be joined on those IDs I found before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurest-acceptedThe issue is in our backlog, ready to take

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions