You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dean Gurvitz (JIRA)" <ji...@apache.org> on 2017/08/13 14:41:00 UTC
[jira] [Created] (SPARK-21719) Enable complex expression in
Column.getItem(...)
Dean Gurvitz created SPARK-21719:
------------------------------------
Summary: Enable complex expression in Column.getItem(...)
Key: SPARK-21719
URL: https://issues.apache.org/jira/browse/SPARK-21719
Project: Spark
Issue Type: New Feature
Components: SQL
Affects Versions: 2.2.0
Reporter: Dean Gurvitz
Currently, the Column.getItem(...) method supports only String or number literals. However, one might want to provide a more complicated expression, such as get the item at the index specified by another column, or the item at an index which is specified by a UDF call. Currently, there is no way to do that.
Creating an overload for the getItem(...) method which accepts a Column object can be one solution.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org