Skip to content

Commit

Permalink
feat(python): set default io threads as 32 (#7)
Browse files Browse the repository at this point in the history
* set default io threads as 32

* bounce up version
  • Loading branch information
flaneur2020 authored May 27, 2024
1 parent 0c59dc2 commit f2841d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/databend_udf/udf.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class ScalarFunction(UserDefinedFunction):
_skip_null: bool

def __init__(
self, func, input_types, result_type, name=None, io_threads=None, skip_null=None
self, func, input_types, result_type, name=None, io_threads=32, skip_null=None
):
self._func = func
self._input_schema = pa.schema(
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.2"
version = "0.2.3"
readme = "README.md"
requires-python = ">=3.7"
dependencies = ["pyarrow"]
Expand Down

0 comments on commit f2841d6

Please sign in to comment.