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

Wenchen Fan resolved SPARK-57200.
---------------------------------
    Fix Version/s: 4.2.0
       Resolution: Fixed

Issue resolved by pull request 56249
[https://github.com/apache/spark/pull/56249]

> JVM whole-stage codegen returns NULL for 3-arg form with column 
> nullReplacement
> -------------------------------------------------------------------------------
>
>                 Key: SPARK-57200
>                 URL: https://issues.apache.org/jira/browse/SPARK-57200
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 4.2.0
>            Reporter: Roy Huang
>            Assignee: Roy Huang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.2.0
>
>
> ArrayJoin.doGenCode silently returns NULL for every row when the third 
> argument (nullReplacement) is a non-foldable column, the plan is fused in 
> Whole-Stage Codegen (WSCG), and an upstream Filter with IsNotNull(array) has 
> tightened the array (and/or delimiter) nullability. Interpreted eval() and 
> Photon both return the correct joined string.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to