You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Aman Omer (Jira)" <ji...@apache.org> on 2019/11/10 05:00:01 UTC

[jira] [Commented] (SPARK-29821) Allow calling non-aggregate SQL functions with column name

    [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org