[
https://issues.apache.org/jira/browse/FLINK-34228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gyula Fora closed FLINK-34228.
------------------------------
Fix Version/s: 1.20.0
Resolution: Fixed
merged to master f75935245799471ddf025d2bab0d0d212e79088e
> Add long UTF serializer/deserializer
> ------------------------------------
>
> Key: FLINK-34228
> URL: https://issues.apache.org/jira/browse/FLINK-34228
> Project: Flink
> Issue Type: Improvement
> Reporter: Peter Vary
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.20.0
>
>
> DataOutputSerializer.writeUTF has a hard limit on the length of the string
> (64k). This is inherited from the DataOutput.writeUTF method, where the JDK
> specifically defines this limit [1].
> For our use-case we need to enable the possibility to serialize longer UTF
> strings, so we will need to define a writeLongUTF method with a similar
> specification than the writeUTF, but without the length limit.
> Based on the discussion on the mailing list, this is a good additional
> serialization utility to Flink [2]
> [1] -
> https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html#writeUTF-java.lang.String-
> [2] - https://lists.apache.org/thread/ocm6cj0h8o3wbwo7fz2l1b4odss750rk
--
This message was sent by Atlassian Jira
(v8.20.10#820010)