Files
datastore/programs/server/user_defined_executable_function_drivers
Alexey Milovidov 8276b98e46 Disable Docker logs for DockerC
Add `--log-driver=none` to Docker invocations generated by `DockerC`. The UDF
protocol streams binary `Buffers` data over stdout, and Docker's default log
driver can otherwise duplicate that stream through container logging while it is
also attached back to ClickHouse.

PR: https://github.com/ClickHouse/ClickHouse/pull/105131

Tests:
- `docker run --rm --log-driver=none alpine:3.20 sh -c 'printf hello'`
- `python3 -m py_compile programs/server/user_defined_executable_function_drivers/c_driver_common.py`
- `CLICKHOUSE_C_DRIVER_COMPILE_LOCAL=1 docker_c_create.sh --return UInt64 --args 'x UInt64, y UInt64'`
- `CLICKHOUSE_BINARY=./build/programs/clickhouse tests/queries/0_stateless/04241_executable_udf_driver.sh`
- `CLICKHOUSE_BINARY=./build/programs/clickhouse tests/queries/0_stateless/04242_executable_udf_driver_errors.sh`
2026-05-17 00:01:52 +02:00
..