Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 3 Skipped Deployments
|
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueNo actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (8)
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review. 📝 WalkthroughWalkthroughThe change adds a Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~25 minutes Merge Risk: ⚪ Minimal · up to The warehouse-query refactor has no identified merge-blocking issue; it is ready for normal checks.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8690 +/- ##
=======================================
Coverage 98.84% 98.85%
=======================================
Files 1663 1666 +3
Lines 68625 68696 +71
=======================================
+ Hits 67835 67906 +71
Misses 790 790 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@themis-blindfold review |
⚖️ Themis review: ✅ Ship itTL;DR: No correctness issues found. The refactor preserves the emitted ClickHouse SQL and parameters across both managed and customer-backed warehouse paths, with golden coverage for each statement. Completed CI checks passed; a focused local rerun could not start because this sandbox blocks dependency downloads.
📝 Walkthrough
🧪 How to verify
Product take: No material product impact. This is useful enabling work for additional warehouse support while keeping current experiment reporting behaviour stable. 🧭 Assumptions & unverified claimsNo unverified assumptions or claims. The SQL moved house without changing its accent · reviewed at cde1402 |
⚖️ Themis review: ✅ Ship itTL;DR: This preserves the emitted ClickHouse SQL and driver parameters while moving the shared query construction behind a small dialect boundary. Completed CodeQL, Python analysis, pre-commit, and documentation-artifact checks passed; API unit and documentation link checks were still running.
📝 Walkthrough
🧪 How to verify
Product take: Minor infrastructure work with no intended user-visible change; it makes the upcoming warehouse support safer to extend. 🧭 Assumptions & unverified claims
The SQL has changed homes, not its habits · reviewed at 8ab2a82 |
docs/if required so people know about the feature.Changes
Fourth of the BYO warehouse series, following #8683. Prepares the results SQL for Databricks; no behaviour change.
warehouses/dialect.py: a minimalDialectwith oneClickHouseDialect. Function-level hooks only (param markers, list membership, counts, time buckets, conditional aggregates, bool to number) plus one clause hook for the conversions unnest.ResultsQueryBuildertakes a dialect. The shared readers andQueryRunnermove fromclickhouse.pytowarehouses/queries.py;clickhouse.pykeeps only ClickHouse plumbing.ClickHouseDialect.How did you test this code?
The first commit adds
test_queries.py, pinning every statement both ClickHouse providers send, with the exact params and driver kwargs, captured from the code before the refactor. The refactor commits leave those expectations unchanged; the last commit drops the older fragment assertions intest_services.pythey supersede.Every statement both providers send was also captured with mocked drivers on
mainand this branch, and compared byte for byte (SQL, params, driver arguments, client settings): 38/38 calls identical, 77 statements, full captureabae9afbf8f1on both.Per-call comparison
mainpr4e5ef968bcce8e5ef968bcce8291482f32dd8291482f32dd84fa2bfbe16254fa2bfbe1625ec4bcc987db5ec4bcc987db571a98687c89e71a98687c89e914c628ca308914c628ca308c42bada7e00ac42bada7e00a522e62c888d1522e62c888d1f2345e8222f3f2345e8222f3608b1d2ceba9608b1d2ceba901f6ed39b3e301f6ed39b3e32dcd1adcaa6f2dcd1adcaa6f58e36c180d6658e36c180d665328ecf33a055328ecf33a050159a686cb730159a686cb73c851c214666bc851c214666bf955ae0341aef955ae0341ae194864a1c277194864a1c2775aef87bd4dee5aef87bd4dee90d16c0474c890d16c0474c86100ba24e5946100ba24e59487ee052a01a787ee052a01a7c836415cee3bc836415cee3b9748bf455c4c9748bf455c4c5691d95e679a5691d95e679ae10c63e789bbe10c63e789bb4dc6062ac6a94dc6062ac6a974f522eb50e574f522eb50e518c3736f116f18c3736f116f4d5a07e6841a4d5a07e6841afeec10be563efeec10be563e0abc930ccac20abc930ccac2ffcd4530a9e6ffcd4530a9e6c0a8bbd6b26fc0a8bbd6b26f1c334f61553b1c334f61553b0d507fbf95650d507fbf9565bff1c7ffbdb0bff1c7ffbdb0b3150660859eb3150660859e