This table function allows integrating ClickHouse with Redis.
Syntax
Arguments
- columns other than the primary key will be serialized in binary as Redis value in corresponding order.
- queries with key equals or in filtering will be optimized to multi keys lookup from Redis. If queries without filtering key full table scan will happen which is a heavy operation.
Named collections are not supported for redis table function at the moment.
Returned value
A table object with key as Redis key, other columns packaged together as Redis value.
Usage Example
Read from Redis:
Insert into Redis:
Last modified on July 2, 2026