Kent Yao created SPARK-29722:
--------------------------------

             Summary: Non reversed keywords should be able to be used in high 
order functions
                 Key: SPARK-29722
                 URL: https://issues.apache.org/jira/browse/SPARK-29722
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: Kent Yao


Non reversed keywords should able to using in high order functions.

select transform(ys, left -> left * left) as v from nested;
select transform(ys, (y, i) -> y + i) as v from nested;

left and cost are non-reversed keywords, currently, the above SQL syntaxes will 
fail.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to