You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Marek Novotny (JIRA)" <ji...@apache.org> on 2018/09/20 10:20:00 UTC
[jira] [Commented] (SPARK-25469) Eval methods of Concat, Reverse
and ElementAt should use pattern matching only once
[ https://issues.apache.org/jira/browse/SPARK-25469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16621792#comment-16621792 ]
Marek Novotny commented on SPARK-25469:
---------------------------------------
[~hyukjin.kwon] Appologize for the duplicated ticket.
Btw, do you have any idea why the ticket didn't get linked with the PR [#22471|https://github.com/apache/spark/pull/22471]?
> Eval methods of Concat, Reverse and ElementAt should use pattern matching only once
> -----------------------------------------------------------------------------------
>
> Key: SPARK-25469
> URL: https://issues.apache.org/jira/browse/SPARK-25469
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.4.0, 3.0.0
> Reporter: Marek Novotny
> Priority: Major
>
> Pattern matching is utilized for each call of {{Concat.eval}}, {{Reverse.nullSafeEval}} and {{ElementAt.nullSafeEval}} and thus for each record of a dataset. This could lead to a performance penalty when expression are executed in the interpreted mode. The goal of this ticket is to reduce usage of pattern matching within the mentioned "eval" methods.
--
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