How to Use Query Parameters in ClickHouse

preview_player
Показать описание
Query parameters allow you to write generic queries that contain abstract placeholders instead of concrete identifiers. In this video, we discuss the details of how to define and use query parameters in ClickHouse.

Reference links:

Рекомендации по теме
Комментарии
Автор

Nice! Having a "Identifer" option is clever and definitely will be helpful for some cases.

andrewzolotukhin
Автор

How the parameters can be set to NULL?
For example
create table t(id int primary key, s String NULL);
insert into t values(1, {PARAM1:String});

OlegGalizin
Автор

Does this protect from SQL injections?

vdecadence
Автор

Is it possible to use Identifier parameter to sort columns?

barkintuncer
visit shbcf.ru