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

sqlmesh2clickhouse exporter should support indices and order_by #3182

Open
ryscheng opened this issue Mar 6, 2025 · 1 comment
Open

sqlmesh2clickhouse exporter should support indices and order_by #3182

ryscheng opened this issue Mar 6, 2025 · 1 comment

Comments

@ryscheng
Copy link
Member

ryscheng commented Mar 6, 2025

What is it?

Right now we use Clickhouse to power the API. A common query is, give me all contracts from this root deployer.
Without data-skipping indices, Clickhouse scans everything, which inevitably times out.

Previously in dbt land, we specified these things in model metadata, so that the export can read it per model and construct the table appropriately.
We don't have a similar facility in sqlmesh yet.

Also, this might be moot if we move to consumer Trino
#3181

Copy link

linear bot commented Mar 6, 2025

@github-project-automation github-project-automation bot moved this to Backlog in OSO Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant