Using Parameterized Views in ClickHouse
Parameterized views can be handy to slice and dice data on the fly based on some parameters that can be fed at query execution time. See this basic example:- create a table
- insert some sample random data
- create the parameterized view:
- query the parameterized view by feeding the expected parameters in your
FROMclause: