Remove MVs in favor of projections (where possible)
Open
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 2
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Many MVs were added to improve the performance of queries, however, some of them can be updated to use projections + a view to do not break existing reports.
Projections are supported on dbt-clickhouse v1.8.2: https://github.com/ClickHouse/dbt-clickhouse/releases/tag/v1.8.2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inventorying the materialized views in this dbt project and checking which queries could use ClickHouse projections with a view. Review dbt-clickhouse v1.8.2 projection support, then confirm that each converted report continues to work without the materialized view.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clickhouse
- Domain
- data-engineering, databases
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100