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

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

Jungtaek Lim created SPARK-31993:
------------------------------------

             Summary: 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: 3.0.0, 2.4.6, 2.3.4, 3.1.0
            Reporter: Jungtaek Lim


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