-
Notifications
You must be signed in to change notification settings - Fork 265
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
Adding clickhouse as a datasource #1072
Conversation
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.
👋 Hello @Preethi1609, thanks for submitting a EVA DB PR 🙏 To allow your work to be integrated as seamlessly as possible, we advise you to:
- ✅ Verify that your PR is up-to-date with
georgia-tech-db/eva
master
branch. If your PR is behind you can update your code by clicking the 'Update branch' button or by runninggit pull
andgit merge master
locally. - ✅ Verify that all EVA DB Continuous Integration (CI) checks are passing.
- ✅ Reduce changes to the absolute minimum required for your bug fix or feature addition.
@@ -200,6 +200,24 @@ def test_should_run_query_in_mysql(self): | |||
# Test executions. | |||
self._execute_native_query() | |||
self._execute_evadb_query() | |||
|
|||
def test_should_run_query_in_clickhouse(self): |
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.
Does the test needs a clickhouse backend?
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.
Yes I will work on it in the upcoming week!
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.
@Preethi1609 How do you plan to setup clickhouse?
@xzdandy @jiashenC Should we add it to CircleCI via docker?
https://hub.docker.com/r/clickhouse/clickhouse-server/
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.
Yes we could have a clickhouse server running on 9000?
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.
I don't think CircleCI has a built-in docker image for Clickhouse, so we probably look for some other ways to make it work with Clickhouse.
@@ -200,6 +200,24 @@ def test_should_run_query_in_mysql(self): | |||
# Test executions. | |||
self._execute_native_query() | |||
self._execute_evadb_query() | |||
|
|||
def test_should_run_query_in_clickhouse(self): |
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.
I don't think CircleCI has a built-in docker image for Clickhouse, so we probably look for some other ways to make it work with Clickhouse.
.circleci/config.yml
Outdated
resource_class: large | ||
docker: | ||
- image: "cimg/python:<< parameters.v >>" | ||
- image: "cimg/mysql:8.0" |
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.
This workflow needs to be changed for clickhouse.
No description provided.