-
Notifications
You must be signed in to change notification settings - Fork 240
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
docs: update the step by step guide of connecting to a query engine #1201
Conversation
@@ -44,6 +44,12 @@ Once a metastore is created, you can configure the auto sync schedule, manually | |||
|
|||
Query engine configures the endpoints that users can query. Each query engine needs to be attached to an environment for security measures. They can also attach a metastore to allow users to see table information while writing queries. All available query engine executors are grouped by language and each of them have different configuration values that needs to be set. | |||
|
|||
![](/img/documentation/Querybook_concepts.png) | |||
|
|||
- A query engine can be associated with a metastore. |
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.
A metastore can associate with one or more query engines?
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'm trying to phrase this from the query engine's point of view, as the association happens on creating the query engine, not on the metastore view.
postgresql://<username>:<password>@<server-host>:<port>/<database> | ||
``` | ||
Please refer to the SqlAlchemy [documentation](https://docs.sqlalchemy.org/en/20/core/engines.html#postgresql) for the connection string format. | ||
- Select `ConnectionChecker` as status checker |
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.
select 1 check is better for postgres?
Please refer to the SqlAlchemy [documentation](https://docs.sqlalchemy.org/en/20/core/engines.html#postgresql) for the connection string format. | ||
- Select `ConnectionChecker` as status checker | ||
|
||
:::caution About localhost |
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.
Caution?
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 caution
is the callout type.
…interest#1201) * docs: update the step by step guide of connecting to a query engine * link to general config * comments and add psycopg2
…interest#1201) * docs: update the step by step guide of connecting to a query engine * link to general config * comments and add psycopg2
also
psycopg2
, as it is needed by PostgreSQL.