Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does ClickHouse support recursive CTE? #61850

Closed
hueiyuan opened this issue Mar 25, 2024 · 2 comments
Closed

Does ClickHouse support recursive CTE? #61850

hueiyuan opened this issue Mar 25, 2024 · 2 comments
Assignees

Comments

@hueiyuan
Copy link

Description

Because we want to execute trace query like jaeger to show dependency graph on grafana (like below image), and it seems that need to use Recursive CTE to achieve it, we refer to timescale can achieve similar objective, But we are not sure current ClickHouse is support this?

Hope someone can assist to give some suggestion or answer, we will be appreciated it, thank you.

  • Jaeger Dependency Graph
    jaeger-graph-example
@hueiyuan hueiyuan added the question Question? label Mar 25, 2024
@alexey-milovidov
Copy link
Member

No, as of 2024-03-25, ClickHouse does not support recursive CTE.
A workaround could be using a temporary table and a loop.

@rschu1ze
Copy link
Member

#62074

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants