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

fix(clickhouse-driver): Support overriding Username & Password from Driver Config #9085

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

danieljaniga
Copy link
Contributor

@danieljaniga danieljaniga commented Jan 9, 2025

Add the ability to override the username and password from the driver configuration. Currently, when using multiple data sources for different tenants (Multitenancy vs Multiple Data Sources) it is not possible to use the username and password defined in the ClickHouseDriver config instead of the default ENV variables CUBEJS_DB_USER, CUBEJS_DB_PASS

Check List

  • Tests have been run in packages where changes made if available
  • Linter has been run for changed code
  • Tests for the changes have been added if not covered yet
  • Docs have been added / updated if required

Add possibility to override username and password from driver config
@danieljaniga danieljaniga requested a review from a team as a code owner January 9, 2025 10:05
@github-actions github-actions bot added the pr:community Contribution from Cube.js community members. label Jan 9, 2025
@KSDaemon KSDaemon changed the title ClickHouseDriver: Add Support to Override Username & Password from Driver Config fix(clickhouse-driver): Support overriding Username & Password from Driver Config Jan 9, 2025
@KSDaemon
Copy link
Member

KSDaemon commented Jan 9, 2025

Hey @danieljaniga! Thanks for the contribution!

@KSDaemon KSDaemon merged commit c5aa6cc into cube-js:master Jan 9, 2025
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:community Contribution from Cube.js community members.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants