atoti_directquery_synapse.standard_table_options module#

class atoti_directquery_synapse.SynapseStandardTableOptions#
__init__(*, keys=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_synapse import SynapseStandardTableOptions
>>> external_table = external_database.tables["TUTORIAL", "SALES"]
>>> table = session.add_external_table(
...     external_table,
...     table_name="sales_renamed",
...     options=SynapseStandardTableOptions(keys=["SALE_ID"]),
... )