ibis.impala.api.ImpalaClient.cache_table

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

Caches a table in cluster memory in the given pool.

Parameters
  • table_name (string) –

  • database (string default None (optional)) –

  • pool (string, 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