Skip to content

featurebyte.SnowflakeDetails

class SnowflakeDetails(
*,
account: str,
warehouse: str,
database_name: str,
schema_name: str,
role_name: str="PUBLIC"
)

Description

Model for details used to connect to a Snowflake data source.

Parameters

  • account: str
    The host account name which can be found using one of the following formats:
    - For Amazon Web Services US West, use<account>.snowflakecomputing.com
    - For all other regions on Amazon Web Services, use <account>.<region>.snowflakecomputing.com
    - For all regions on Microsoft Azure, use <account>.<region>.azure.snowflakecomputing.com

  • warehouse: str
    The name of default warehouse to use for computation.

  • database_name: str
    The name of the database to use for creation of output tables.

  • schema_name: str
    The name of the schema to use for creation of output tables.

  • role_name: str
    default: "PUBLIC"
    The name of the role to use for creation of output tables.

Examples

>>> details = fb.SnowflakeDetails(
...     account="<account>",
...     warehouse="snowflake",
...     database_name="<database_name>",
...     schema_name="<schema_name>",
...     role_name="<role_name>",
... )