ibis.impala.api.ImpalaClient.cache_table

ImpalaClient.cache_table(self, table_name, database=None, pool='default')

Caches a table in cluster memory in the given pool.

Parameters
table_namestring
databasestring default None (optional)
poolstring, default ‘default’

The name of the pool in which to cache the table

Examples

>>> table = 'my_table'
>>> db = 'operations'
>>> pool = 'op_4GB_pool'
>>> con.cache_table('my_table', database=db, pool=pool)  # noqa: E501 # doctest: +SKIP