You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/06/15 21:18:46 UTC
[GitHub] [spark] srowen commented on a change in pull request #24872:
[SPARK-28023][SQL] Trim the string when cast string type to Boolean/Numeric
types
srowen commented on a change in pull request #24872: [SPARK-28023][SQL] Trim the string when cast string type to Boolean/Numeric types
URL: https://github.com/apache/spark/pull/24872#discussion_r294059768
##########
File path: docs/sql-migration-guide-upgrade.md
##########
@@ -23,6 +23,8 @@ license: |
{:toc}
## Upgrading From Spark SQL 2.4 to 3.0
+ - Since Spark 3.0, trim the string when cast string type to Boolean/Datetime/Numeric types.
Review comment:
Yes something like "when casting from string to boolean, date or numeric types, whitespace is trimmed from the ends of the value first"
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org