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

Feature: Support ClickHouse data source #481

Merged
merged 4 commits into from
Jul 5, 2024
Merged

Conversation

onlyjackfrost
Copy link
Contributor

Support ClickHouse data source

export interface IbisBigQueryConnectionInfo {
project_id: string;
dataset_id: string;
credentials: string; // base64 encoded
}

export type IbisConnectionInfo =
| UrlBasedConnectionInfo
| HostBasedConnectionInfo
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The connection info of MySQL, Postgres, MS SQL, and ClickHouse are similar and can be classified into host-based or URL-based connection info

@@ -68,7 +68,7 @@ const defaultConfig = {
wrenAIEndpoint: 'http://localhost:5555',

// ibis server
ibisServerEndpoint: 'http://localhost:8000',
ibisServerEndpoint: 'http://127.0.0.1:8000',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I couldn't connect to the ibis server using localhost but using 127.0.0.1 would do

Copy link
Member

@wwwy3y3 wwwy3y3 left a comment

Choose a reason for hiding this comment

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

LGTM at a quick glance. Will review more thoroughly later.

@onlyjackfrost onlyjackfrost merged commit 62e53d5 into main Jul 5, 2024
7 checks passed
onlyjackfrost added a commit that referenced this pull request Jul 11, 2024
* add ClickHouse data source

* remove unused interface

* support clickhouse UI

* update ibis base url
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