You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "liuxian (JIRA)" <ji...@apache.org> on 2017/06/08 10:16:18 UTC
[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=16042505#comment-16042505 ]
liuxian edited comment on SPARK-21016 at 6/8/17 10:15 AM:
----------------------------------------------------------
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.
Trim the input like this will avoid unnecessary mistakes
was (Author: 10110346):
Converting string to number(int, long or double), if the string has a space before or after,we are not easy to detect.
Trim the input like this will avoid unnecessary mistakes
> 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
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org