Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.5, 3.0.0
Description
This is reported by user mailing list, though the mail thread is regarding suspect of the behavior of mapGroupsWithState.
The actual culprit is, there're a couple of methods which don't handle UDT and it makes GenerateUnsafeRowJoiner to generate incorrect code. Specifically, the issue occurs when the sql type of UDT has fixed length - GenerateUnsafeRowJoiner has the logic to update the offset position for all variable-length data, and due to this bug, UDT field with fixed length is being treated as variable-length data and its value is modified.
Attachments
Issue Links
- is duplicated by
-
SPARK-30986 Structured Streaming: mapGroupsWithState UDT serialization does not work
- Resolved
- links to