You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/06/15 08:17:00 UTC

[jira] [Commented] (SPARK-31993) Generated code in 'concat_ws' fails to compile when splitting method is in effect

    [ https://issues.apache.org/jira/browse/SPARK-31993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17135579#comment-17135579 ] 

Apache Spark commented on SPARK-31993:
--------------------------------------

User 'HeartSaVioR' has created a pull request for this issue:
https://github.com/apache/spark/pull/28831

> 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
>            Priority: Major
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org