-
- Downloads
[SPARK-21016][CORE] Improve code fault tolerance for converting string to number
## What changes were proposed in this pull request? When converting `string` to `number`(int, long or double), if the string has a space before or after,will lead to unnecessary mistakes. ## How was this patch tested? unit test Author: liuxian <liu.xian3@zte.com.cn> Closes #18238 from 10110346/lx-wip-0608.
Showing
- core/src/main/scala/org/apache/spark/internal/config/ConfigBuilder.scala 2 additions, 2 deletions...cala/org/apache/spark/internal/config/ConfigBuilder.scala
- sql/core/src/test/scala/org/apache/spark/sql/internal/SQLConfEntrySuite.scala 5 additions, 0 deletions...ala/org/apache/spark/sql/internal/SQLConfEntrySuite.scala
Loading
Please register or sign in to comment