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

Runtime: Fix session usage for clickhouse http interface #5103

Merged
merged 4 commits into from
Jun 19, 2024

Conversation

k-anshul
Copy link
Member

Clickhouse http interface requires a session_id to be passed to tie queries to a certain session.

@k-anshul k-anshul self-assigned this Jun 19, 2024
runtime/drivers/clickhouse/clickhouse.go Outdated Show resolved Hide resolved
}
opts.Addr = append(opts.Addr, host)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why append instead of =?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes that can be used as well. I copied this from the underlying driver to build options so used the same append code.

@k-anshul k-anshul merged commit 11ace61 into main Jun 19, 2024
4 checks passed
@k-anshul k-anshul deleted the clickhouse_temp_tables branch June 19, 2024 09:59
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.

2 participants