diff --git a/README.md b/README.md index d96b9a1..8a7c794 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ## Databend UDF Server SDK This library provides a SDK for creating user-defined functions (UDF) server in Databend. -![Python](https://img.shields.io/pypi/v/databend-udf) +[![Python](https://img.shields.io/pypi/v/databend-udf)](https://pypi.org/project/databend-udf/) ### Introduction Databend supports user-defined functions implemented as external functions. With the Databend Python UDF API, users can define custom UDFs using Python and start a Python process as a UDF server. Then users can call the customized UDFs in Databend. Databend will remotely access the UDF server to execute the defined functions. diff --git a/python/README.md b/python/README.md index 367adc5..772b9d0 100644 --- a/python/README.md +++ b/python/README.md @@ -124,6 +124,7 @@ The data types supported by the Python UDF API and their corresponding python ty | DATE | datetime.date | | TIMESTAMP | datetime.datetime | | VARCHAR | str | +| BINARY | bytes | | VARIANT | any | | MAP(K,V) | dict | | ARRAY(T) | list[T] | @@ -136,7 +137,7 @@ The NULL in sql is represented by None in Python. ```sh # start UDF server -python3 udf_test.py +python3 examples/server.py ``` ```sh diff --git a/python/pyproject.toml b/python/pyproject.toml index bd430c8..92b252b 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -7,7 +7,7 @@ classifiers = [ description = "Databend UDF Server" license = { text = "Apache-2.0" } name = "databend-udf" -version = "0.2.0" +version = "0.2.1" readme = "README.md" requires-python = ">=3.7" dependencies = ["pyarrow"]