Skip to content

Commit 979fe75

Browse files
committed
[FLINK-37272][python] Minor fix of FlinkAvroBufferWrapper
1 parent 866e1a9 commit 979fe75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flink-python/pyflink/fn_execution/formats/avro.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def read(self, n=1):
4444
return self._stream.read(n)
4545

4646
def write(self, data):
47-
return self._stream.write(data)
47+
return self._stream.write(bytes(data))
4848

4949

5050
class FlinkAvroDecoder(BinaryDecoder):

0 commit comments

Comments
 (0)