You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:21:32 UTC

[jira] [Updated] (SPARK-18174) Avoid Implicit Type Cast in Arguments of Expressions Extending String2StringExpression

     [ https://issues.apache.org/jira/browse/SPARK-18174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon updated SPARK-18174:
---------------------------------
    Labels: bulk-closed  (was: )

> 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
>            Priority: Major
>              Labels: bulk-closed
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org