Skip to content

Commit

Permalink
[FLINK-37272][python] Minor fix of FlinkAvroBufferWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
dianfu committed Feb 11, 2025
1 parent 866e1a9 commit 979fe75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flink-python/pyflink/fn_execution/formats/avro.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def read(self, n=1):
return self._stream.read(n)

def write(self, data):
return self._stream.write(data)
return self._stream.write(bytes(data))


class FlinkAvroDecoder(BinaryDecoder):
Expand Down

0 comments on commit 979fe75

Please sign in to comment.