You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (Jira)" <ji...@apache.org> on 2022/02/25 09:12:00 UTC

[jira] [Resolved] (SPARK-38325) ANSI mode: avoid potential runtime error in HashJoin.extractKeyExprAt()

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

Gengliang Wang resolved SPARK-38325.
------------------------------------
    Fix Version/s: 3.3.0
                   3.2.2
       Resolution: Fixed

Issue resolved by pull request 35659
[https://github.com/apache/spark/pull/35659]

> ANSI mode: avoid potential runtime error in HashJoin.extractKeyExprAt() 
> ------------------------------------------------------------------------
>
>                 Key: SPARK-38325
>                 URL: https://issues.apache.org/jira/browse/SPARK-38325
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.3.0, 3.2.2
>            Reporter: Gengliang Wang
>            Assignee: Gengliang Wang
>            Priority: Major
>             Fix For: 3.3.0, 3.2.2
>
>
> SubqueryBroadcastExec retrieves the partition key from the broadcast results based on the type of HashedRelation returned. If the key is packed inside a Long, we extract it through bitwise operations and cast it as Byte/Short/Int if necessary.
> The casting here can cause a potential runtime error. We should fix it.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org