You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2019/01/28 21:41:00 UTC

[jira] [Resolved] (SPARK-26747) Makes GetMapValue nullability more precise

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

Dongjoon Hyun resolved SPARK-26747.
-----------------------------------
       Resolution: Fixed
         Assignee: Takeshi Yamamuro
    Fix Version/s: 3.0.0

This is resolved via https://github.com/apache/spark/pull/23669

> Makes GetMapValue nullability more precise
> ------------------------------------------
>
>                 Key: SPARK-26747
>                 URL: https://issues.apache.org/jira/browse/SPARK-26747
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Takeshi Yamamuro
>            Assignee: Takeshi Yamamuro
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> In master, GetMapValue nullable is always true;
> https://github.com/apache/spark/blob/cf133e611020ed178f90358464a1b88cdd9b7889/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/complexTypeExtractors.scala#L371
> But, If input key is foldable, we could make its nullability more precise.
> This fix is the same with 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