atoti_directquery_snowflake.standard_table_options module#

class atoti_directquery_snowflake.SnowflakeStandardTableOptions#
__init__(*, keys=None, clustering_column=None)#

Additional options about the external table to create.

Parameters

keys (Optional[Sequence[str]]) – The columns that will become keys of the table.

Example

>>> from atoti_directquery_snowflake import (
...     SnowflakeStandardTableOptions,
... )
>>> external_table = external_database.tables["TUTORIAL", "SALES"]
>>> table = session.add_external_table(
...     external_table,
...     table_name="sales_renamed",
...     options=SnowflakeStandardTableOptions(keys=["SALE_ID"]),
... )