-
Notifications
You must be signed in to change notification settings - Fork 68
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
Test: Refactor tests to support ClickHouse Cloud #347
Conversation
scala: [ 2.12, 2.13 ] | ||
env: | ||
CLICKHOUSE_CLOUD_HOST: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT }} | ||
CLICKHOUSE_CLOUD_PASSWORD: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD_SMT }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
were these secrets set up properly? @mzitnik
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep should be fine.
I will test your branch locally |
I have also noticed that ClickHouseSingle{XXXX} and clickHouseCloud{XXXX} both running with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In ClickHouseTableDDLSuite
when running against cloud we should change to ENGINE=Memory() instead of ENGINE=Log()
|
||
def withNodeClient(protocol: ClickHouseProtocol = HTTP)(block: NodeClient => Unit): Unit = | ||
Utils.tryWithResource { | ||
NodeClient(NodeSpec(clickhouseHost, Some(clickhouseHttpPort), Some(clickhouseTcpPort), protocol)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to add here in case of cloud username, password, and options with a value of ("ssl", "true")
@pan3793 I can pull this branch under ClickHouse/spark-clickhouse-connector and do the needed fixes so we could run it with our cloud credentials |
close and in favor #349 |
Summary
Checklist
Delete items not relevant to your PR: