Skip to content

feat(database): Add ClickHouse database support#887

Merged
gfieni merged 3 commits into
masterfrom
feat/clickhouse-database
Jul 17, 2026
Merged

feat(database): Add ClickHouse database support#887
gfieni merged 3 commits into
masterfrom
feat/clickhouse-database

Conversation

@gfieni

@gfieni gfieni commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

This PR adds ClickHouse as an output database for persisting reports.

@gfieni gfieni self-assigned this Jul 17, 2026
@gfieni gfieni added the enhancement New feature or request label Jul 17, 2026
@gfieni
gfieni requested a review from a team as a code owner July 17, 2026 13:59
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.20833% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.92%. Comparing base (3ab61c0) to head (db0b63d).
⚠️ Report is 12 commits behind head on master.

Files with missing lines Patch % Lines
src/powerapi/database/clickhouse/driver.py 67.85% 18 Missing ⚠️
src/powerapi/database/clickhouse/schema.py 94.44% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #887      +/-   ##
==========================================
+ Coverage   73.68%   73.92%   +0.23%     
==========================================
  Files          80       83       +3     
  Lines        3033     3129      +96     
==========================================
+ Hits         2235     2313      +78     
- Misses        798      816      +18     
Files with missing lines Coverage Δ
src/powerapi/cli/common_cli_parsing_manager.py 100.00% <100.00%> (ø)
src/powerapi/cli/generator.py 89.40% <100.00%> (+0.24%) ⬆️
src/powerapi/database/clickhouse/codecs.py 100.00% <100.00%> (ø)
src/powerapi/database/clickhouse/schema.py 94.44% <94.44%> (ø)
src/powerapi/database/clickhouse/driver.py 67.85% <67.85%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread src/powerapi/database/clickhouse/schema.py Dismissed
@gfieni
gfieni merged commit 3f469a5 into master Jul 17, 2026
11 checks passed
@gfieni
gfieni deleted the feat/clickhouse-database branch July 17, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants