未验证 提交 884e7d0d 编写于 作者: sangshuduo's avatar sangshuduo 提交者: GitHub

docs: fix udf zh typos (#21504)

* docs: fix typos

* docs: fix udf typos
上级 1e786624
...@@ -303,7 +303,7 @@ def start() -> bytes: ...@@ -303,7 +303,7 @@ def start() -> bytes:
def reduce(inputs: datablock, buf: bytes) -> bytes def reduce(inputs: datablock, buf: bytes) -> bytes
# deserialize buf to state # deserialize buf to state
# reduce the inputs and state into new_state. # reduce the inputs and state into new_state.
# use inputs.data(i,j) to access python ojbect of location(i,j) # use inputs.data(i,j) to access python object of location(i,j)
# serialize new_state into new_state_bytes # serialize new_state into new_state_bytes
return new_state_bytes return new_state_bytes
def finish(buf: bytes) -> output_type: def finish(buf: bytes) -> output_type:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册