Skip to content

Commit

Permalink
chore: update docs for binary (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc authored Jan 17, 2024
1 parent d016db3 commit ba773d3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.
3 changes: 2 additions & 1 deletion python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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] |
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit ba773d3

Please sign in to comment.