[
https://issues.apache.org/jira/browse/SPARK-29821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16971016#comment-16971016
]
Aman Omer commented on SPARK-29821:
-----------------------------------
Checking this issue. [~MaxHartwig]
> Allow calling non-aggregate SQL functions with column name
> ----------------------------------------------------------
>
> Key: SPARK-29821
> URL: https://issues.apache.org/jira/browse/SPARK-29821
> Project: Spark
> Issue Type: Improvement
> Components: Java API
> Affects Versions: 2.4.4
> Reporter: Max Härtwig
> Priority: Minor
>
> Some functions in sql/functions.scala can be called with a Column or String
> parameter, other can only be called with a Column parameter. This behavior
> should be made consistent.
>
> Example:
> Exists:{{ sqrt(e: Column): Column}}
> Exists:{{ sqrt(columnName: String): Column}}
> Exists:{{ isnan(e: Column): Column}}
> Doesn't exist: {{isnan(columnName: String): Column}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]