Herman van Hövell created SPARK-31450:
-----------------------------------------
Summary: Make ExpressionEncoder thread safe
Key: SPARK-31450
URL: https://issues.apache.org/jira/browse/SPARK-31450
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 3.0.0
Reporter: Herman van Hövell
Assignee: Herman van Hövell
ExpressionEncoder is currently not thread-safe because it contains stateful
objects that are required for converting objects to internal rows and vise
versa. We have been working around this by (excessively) cloning
ExpressionEncoders which is not free. I propose that we move the stateful bits
of the expression encoder into two helper classes that will take care of the
conversions.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]