# Install dependencies using uv
uv sync
# start UDF server
uv run python simple_server.pyThe mock UDF control plane will build and run a Docker
container from the spec sent by Databend (protobuf runtime spec).
This requires a working docker CLI and will return a local endpoint like
http://127.0.0.1:<port>.
you need to add the setting to your config.toml
[query]
cloud_control_grpc_server_address = "http://0.0.0.0:50051"./target/debug/databend-sqllogictests --run_dir taskThe mock server reads tests/cloud_control_server/udf_env.toml and hot-reloads
when the file changes. Bind variables by tenant + UDF name:
[udf_env]
"tenant_a.my_udf" = { API_HOST = "https://api.example.com", FEATURE_FLAG = "true" }