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 2022/02/25 05:32:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17497919#comment-17497919 ] 

Apache Spark commented on SPARK-38325:
--------------------------------------

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