You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:12:27 UTC

[jira] [Resolved] (SPARK-21719) Enable complex expression in Column.getItem(...)

     [ https://issues.apache.org/jira/browse/SPARK-21719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-21719.
----------------------------------
    Resolution: Incomplete

> 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
>            Priority: Major
>              Labels: SQL, bulk-closed
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org