[
https://issues.apache.org/jira/browse/SPARK-18174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15620431#comment-15620431
]
Apache Spark commented on SPARK-18174:
--------------------------------------
User 'gatorsmile' has created a pull request for this issue:
https://github.com/apache/spark/pull/15690
> 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]