v.22.9Improvement
CatBoost Model Evaluation Migration to clickhouse-library-bridge
For security and stability reasons, CatBoost models are no longer evaluated within the ClickHouse server. Instead, the evaluation is now done in the clickhouse-library-bridge, a separate process that loads the catboost library and communicates with the server process via HTTP. FunctionmodelEvaluate()was replaced bycatboostEvaluate(). #40897 (Robert Schulze). #39629 (Robert Schulze).
Why it matters
Evaluating CatBoost models inside the ClickHouse server posed security and stability risks. By offloading the evaluation to the clickhouse-library-bridge, a separate process that loads the CatBoost library and communicates via HTTP, the system becomes more robust and secure, isolating the model evaluation from the main server process.How to use it
Instead of usingmodelEvaluate(), users should now use the catboostEvaluate() function in their SQL queries. Ensure the clickhouse-library-bridge process is running and properly configured to handle CatBoost model evaluations via HTTP communication with the ClickHouse server.