spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Takeshi Yamamuro (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-26965) Makes ElementAt nullability more precise
Date Fri, 22 Feb 2019 04:03:00 GMT
Takeshi Yamamuro created SPARK-26965:
----------------------------------------

             Summary: Makes ElementAt nullability more precise
                 Key: SPARK-26965
                 URL: https://issues.apache.org/jira/browse/SPARK-26965
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: Takeshi Yamamuro


In master, ElementAt nullable is always true;
https://github.com/apache/spark/blob/be1cadf16dc70e22eae144b3dfce9e269ef95acc/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/collectionOperations.scala#L1977

But, If input key is foldable, we could make its nullability more precise.
This fix is the same with SPARK-26747 and -SPARK-26637- 



--
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


Mime
View raw message