forked from georgia-tech-db/evadb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Documentation and Skipped Integration test for Snowflake
- Loading branch information
Lohith K S
authored and
Lohith K S
committed
Oct 20, 2023
1 parent
aef8d2e
commit 83ba8f6
Showing
3 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
Snowflake | ||
========== | ||
|
||
The connection to Snowflake is based on the `snowflake-connector-python <https://pypi.org/project/snowflake-connector-python/>`_ library. | ||
|
||
Dependency | ||
---------- | ||
|
||
* snowflake-connector-python | ||
|
||
Parameters | ||
---------- | ||
|
||
Required: | ||
|
||
* `user` is the database user. | ||
* `password` is the snowflake account password. | ||
* `database` is the database name. | ||
* `warehouse` is the snowflake warehouse name. | ||
* `account` is the snowflake account number ( can be found in the url ). | ||
* `schema` is the schema name. | ||
|
||
|
||
.. warning:: | ||
|
||
Provide the parameters of an already running ``Snowflake`` Data Warehouse. EvaDB only connects to an existing ``Snowflake`` Data Warehouse. | ||
|
||
Create Connection | ||
----------------- | ||
|
||
.. code-block:: text | ||
CREATE DATABASE snowflake_data WITH ENGINE = 'snowflake', PARAMETERS = { | ||
"user": "<username>", | ||
"password": "<my_password>" | ||
"account": "<account_number>", | ||
"database": "EVADB", | ||
"warehouse": "COMPUTE_WH", | ||
"schema": "SAMPLE_DATA" | ||
}; | ||
.. warning:: | ||
|
||
In Snowflake Terminology, ``Database`` and ``Schema`` refer to the following. | ||
A database is a logical grouping of schemas. Each database belongs to a single Snowflake account. | ||
A schema is a logical grouping of database objects (tables, views, etc.). Each schema belongs to a single database. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters