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: [email protected]
For additional commands, e-mail: [email protected]