Mihailo Aleksic created SPARK-51805:
---------------------------------------

             Summary: Get with null argument should return null instead of 
throwing cast error
                 Key: SPARK-51805
                 URL: https://issues.apache.org/jira/browse/SPARK-51805
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 4.1.0
            Reporter: Mihailo Aleksic


Following query throw _Cannot cast NullType to Arraytype_:

{code:java}
SELECT get(null, 0);
{code}

instead of returning null. I propose that we fix that.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to