You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2019/12/09 06:33:00 UTC
[jira] [Resolved] (SPARK-29883) Implement a helper method for
aliasing bool_and() and bool_or()
[ https://issues.apache.org/jira/browse/SPARK-29883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan resolved SPARK-29883.
---------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
Issue resolved by pull request 26712
[https://github.com/apache/spark/pull/26712]
> Implement a helper method for aliasing bool_and() and bool_or()
> ---------------------------------------------------------------
>
> Key: SPARK-29883
> URL: https://issues.apache.org/jira/browse/SPARK-29883
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: Xiao Li
> Assignee: Aman Omer
> Priority: Major
> Fix For: 3.0.0
>
>
>
> A general issue in error message when the function name is just an alias name of the actual built-in function. For example, every is an alias of bool_and in Spark 3.0
> {code:java}
> cannot resolve 'every('true')' due to data type mismatch: Input to function 'every' should have been boolean, but it's [string].; line 1 pos 7
> {code}
> {code:java}
> cannot resolve 'bool_and('true')' due to data type mismatch: Input to function 'bool_and' should have been boolean, but it's [string].; line 1 pos 7{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org