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

Reply via email to