spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-25469) Eval methods of Concat, Reverse and ElementAt should use pattern matching only once
Date Thu, 20 Sep 2018 23:01:00 GMT

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

Apache Spark commented on SPARK-25469:
--------------------------------------

User 'mn-mikke' has created a pull request for this issue:
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


Mime
View raw message