You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2019/10/08 05:43:10 UTC
[jira] [Resolved] (SPARK-21016) Improve code fault tolerance for
converting string to number
[ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org