class atoti_directquery_clickhouse.ClickhouseTableOptions#
__init__(*, clustering_columns=frozenset({}), keys=None)#

Additional options about the external table to create.

  • clustering_columns (Set[str] | Sequence[str]) –

    The names of the columns used for clustering.

    Feeding aggregate providers from an external database can result in very large queries to be run on this database. Clustering columns split up queries made by DirectQuery to the external database when feeding aggregate providers.

  • keys (Collection[str] | None) – The columns that will become keys of the table.