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

Wenchen Fan resolved SPARK-31993.
---------------------------------
    Fix Version/s: 3.1.0
         Assignee: Jungtaek Lim
       Resolution: Fixed

> Generated code in 'concat_ws' fails to compile when splitting method is in 
> effect
> ---------------------------------------------------------------------------------
>
>                 Key: SPARK-31993
>                 URL: https://issues.apache.org/jira/browse/SPARK-31993
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.3.4, 2.4.6, 3.0.0, 3.1.0
>            Reporter: Jungtaek Lim
>            Assignee: Jungtaek Lim
>            Priority: Major
>             Fix For: 3.1.0
>
>
> https://github.com/apache/spark/blob/a0187cd6b59a6b6bb2cadc6711bb663d4d35a844/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala#L88-L195
> There're three parts of generated code in concat_ws (codes, varargCounts, 
> varargBuilds) and all parts try to split method by itself, while 
> `varargCounts` and `varargBuilds` refer on the generated code in `codes`, 
> hence the overall generated code fails to compile if any of part succeeds to 
> split.



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