mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
Resolve `execute_direct` commands for driver-generated executable UDFs relative to the function's UUID working directory from the `.workdir` sidecar instead of `user_scripts_path`. This lets the C example drivers emit relative commands such as `user_func` and `docker_fifo_runner.sh`, while regular executable UDF configs continue to use `user_scripts_path`. Tests: - `python3 -m py_compile programs/server/user_defined_executable_function_drivers/c_driver_common.py` - `ninja -C build programs/clickhouse` - `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`