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

Clickhouse: support both secure and non-secure connection #103

Merged
merged 4 commits into from
Feb 3, 2025

Conversation

sanjushahgupta
Copy link
Collaborator

No description provided.

@@ -302,9 +302,16 @@ def dlt_dest(self, uri: str, **kwargs):

query_params = parse_qs(parsed_uri.query)
http_port = (
int(query_params["http_port"][0]) if "http_port" in query_params else 8123
int(query_params["http_port"][0]) if "http_port" in query_params else 8443
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can set the default value by referencing secure.

If secure is 1 then 8443 else 8123.

@sanjushahgupta sanjushahgupta changed the title Clickhouse: update http_port Clickhouse: support both secure and non-secure connection Jan 31, 2025
@karakanb karakanb merged commit 2dbe473 into main Feb 3, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants