tree: 6ee572ade2d6045c6cf101ad172782e4567d2adc [path history] [tgz]
  1. proto/
  2. function_server_demo.py
  3. README.md
samples/doris-demo/remote-udf-python-demo/README.md

Remote UDF Function Service In Python Demo

Compile

  1. pip install grpcio-tools
  2. python -m grpc_tools.protoc -Iproto --python_out=. --grpc_python_out=. proto/function_service.proto && python -m grpc_tools.protoc -Iproto --python_out=. proto/types.proto

Run

python function_server_demo.py 9000 9000 is the port that the server will listen on