atoti_directquery_clickhouse.connection module#

class atoti_directquery_clickhouse.ClickhouseConnection#

Connection to an external ClickHouse database.

Use atoti.Session.connect_to_external_database() to create one.

property cache: Optional[bool]#

Whether the external database should cache the query results or not.

Return type

Optional[bool]

property tables: atoti.directquery.external_tables.ExternalDatabaseTables[atoti.directquery.external_table.ExternalTableT]#

All the tables of the external database.

Return type

ExternalDatabaseTables[TypeVar(ExternalTableT, bound= ExternalTable, covariant=True)]