You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently parameters' values are passed along with the query as a table with the only one row. In the query each parameter is replaced with the SELECT subquery (see implementation details). However, there are some placed in the query where such subqueries are not allowed (#42, #46, #48).
Another way to pass parameters is implemented in the ClickHouse command-line client. This client substitutes parameters with their values. Similar behavior could be implemented in the ClickHouseClient as well.
In order to keep a backward compatibility the current behavior should remain the default behavior of ClickHouseClient. Which means that that the new behavior must be explicitly requested by the client code.
The strategy for passing parameters to the query can be defined at three levels:
Parameter. Affects only this parameter;
Command. Affects all command's parameters;
Connection. Affects all parameters in all commands executed with this connection.
The text was updated successfully, but these errors were encountered:
Currently parameters' values are passed along with the query as a table with the only one row. In the query each parameter is replaced with the
SELECT
subquery (see implementation details). However, there are some placed in the query where such subqueries are not allowed (#42, #46, #48).Another way to pass parameters is implemented in the ClickHouse command-line client. This client substitutes parameters with their values. Similar behavior could be implemented in the ClickHouseClient as well.
In order to keep a backward compatibility the current behavior should remain the default behavior of ClickHouseClient. Which means that that the new behavior must be explicitly requested by the client code.
The strategy for passing parameters to the query can be defined at three levels:
The text was updated successfully, but these errors were encountered: