docs: fix udf zh typos (#21504)
* docs: fix typos * docs: fix udf typos
This commit is contained in:
parent
1e786624b2
commit
884e7d0db6
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue