Skip to content

Commit 21e3086

Browse files
committed
[FLINK-37272][python] Minor fix of FlinkAvroBufferWrapper
1 parent 759635d commit 21e3086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)