You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Max Härtwig (Jira)" <ji...@apache.org> on 2019/11/09 21:39:00 UTC
[jira] [Created] (SPARK-29821) Allow calling non-aggregate SQL
functions with column name
Max Härtwig created SPARK-29821:
-----------------------------------
Summary: 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
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