[
https://issues.apache.org/jira/browse/SPARK-60635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-60635.
----------------------------------
Fix Version/s: 4.4.0
Resolution: Fixed
Issue resolved by pull request 59882
[https://github.com/apache/spark/pull/59882]
> Isolate mutable number-format parsers in expression copies
> ----------------------------------------------------------
>
> Key: SPARK-60635
> URL: https://issues.apache.org/jira/browse/SPARK-60635
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 5.0.0, 4.4.0
> Reporter: Linhong Liu
> Assignee: Linhong Liu
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.4.0
>
>
> ToNumber, TryToNumber and numeric ToCharacter cache a mutable ToNumberParser.
> The expressions are not marked stateful, so evaluator copies can reuse the
> same expression and parser reference, including generated code references.
> Marking the expressions stateful lets the existing fresh-copy mechanism give
> each evaluator its own parser. Regression coverage should check independent
> copies and parser references, preserved foldability, conversion results, and
> NULL handling.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]