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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]