[
https://issues.apache.org/jira/browse/SPARK-18174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15620685#comment-15620685
]
Herman van Hovell commented on SPARK-18174:
-------------------------------------------
[~smilegator] Won't this create a regression for users who are relying on this?
> Avoid Implicit Type Cast in Arguments of Expressions Extending
> String2StringExpression
> --------------------------------------------------------------------------------------
>
> Key: SPARK-18174
> URL: https://issues.apache.org/jira/browse/SPARK-18174
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.0.1
> Reporter: Xiao Li
>
> For the expressions that extend String2StringExpression (lower, upper, ltrim,
> rtrim, trim and reverse), Analyzer should not implicitly cast the arguments
> to string. If users input the some data types instead of string, we should
> issue an exception for this misuse.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]