[
https://issues.apache.org/jira/browse/SPARK-31450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun updated SPARK-31450:
----------------------------------
Issue Type: Bug (was: Improvement)
> Make ExpressionEncoder thread safe
> ----------------------------------
>
> Key: SPARK-31450
> URL: https://issues.apache.org/jira/browse/SPARK-31450
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: Herman van Hövell
> Assignee: Herman van Hövell
> Priority: Major
>
> 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]