Snowflake¶
Installation¶
Connection URL¶
Connect to Snowflake by passing a connection URL to the Database
constructor:
Connection Parameters¶
Alternatively, connect using the Database.from_snowflake()
method with parameters:
PARAMETER | DESCRIPTION |
---|---|
user
|
Username
TYPE:
|
account
|
A Snowflake organization ID and a Snowflake user ID, separated by a hyphen. Note that a Snowflake user ID is a separate identifier from a username. See https://docs.snowflake.com/en/user-guide/admin-account-identifier for details
TYPE:
|
database
|
A Snowflake database and a Snowflake schema, separated by a /. See https://docs.snowflake.com/en/sql-reference/ddl-database for details
TYPE:
|
password
|
Password. If empty or None then authenticator must be passed.
TYPE:
|
authenticator
|
String indicating authentication method. See https://docs.snowflake.com/en/developer-guide/python-connector/python-connector-example#connecting-with-oauth for details. Note that the authentication flow will not take place until a database connection is made. This means that connection can succeed, while subsequent API calls fail if the authentication fails for any reason.
TYPE:
|
create_object_udfs
|
Enable object UDF extensions defined on the first connection to the database. Default is True.
TYPE:
|
match_schema
|
Regex pattern to filter schemas. Mutually exclusive with match_tables.
TYPE:
|
match_tables
|
Regex pattern to filter tables. Mutually exclusive with match_schema.
TYPE:
|
**kwargs
|
Additional arguments passed to the DBAPI connection call.
TYPE:
|