[
https://issues.apache.org/jira/browse/SPARK-21016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-21016.
----------------------------------
Resolution: Incomplete
> Improve code fault tolerance for converting string to number
> ------------------------------------------------------------
>
> Key: SPARK-21016
> URL: https://issues.apache.org/jira/browse/SPARK-21016
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Affects Versions: 2.3.0
> Reporter: liuxian
> Priority: Minor
> Labels: bulk-closed
>
> Converting string to number(int, long or double), if the string has a space
> before or after,we are not easy to detect,especially the user configuration.
> For example
> conf.setConfString(key, " 20") //has a space in string " 20"
> conf.getConf(confEntry, 5) // This statement fails
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]