Xiao Li created SPARK-18174:
-------------------------------

             Summary: 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]

Reply via email to