You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jingsong Lee (Jira)" <ji...@apache.org> on 2021/06/08 08:31:00 UTC
[jira] [Closed] (FLINK-18408) BinaryRowData should use
de-/serialization method of MemorySegment with explicit endianness
[ https://issues.apache.org/jira/browse/FLINK-18408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jingsong Lee closed FLINK-18408.
--------------------------------
Resolution: Invalid
> BinaryRowData should use de-/serialization method of MemorySegment with explicit endianness
> -------------------------------------------------------------------------------------------
>
> Key: FLINK-18408
> URL: https://issues.apache.org/jira/browse/FLINK-18408
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Runtime
> Reporter: Yingjie Cao
> Priority: Minor
> Labels: auto-deprioritized-major
>
> I notice that classes like BinaryRowData use de-/serialization method of MemorySegment without explicit endianness, I think this is not safe if we serialize some data on one machine and deserialize on another machine with different endianness. To be one the safe side, I think we should use de-/serialization method of MemorySegment with explicit endianness. What do you think? (BinaryRowWriter may have the same issue and there may be some other classes also suffer from this but I did not notice)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)