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 05:27:00 UTC
[jira] [Created] (SPARK-38325) ANSI mode: avoid potential runtime error in HashJoin.extractKeyExprAt()
Gengliang Wang created SPARK-38325:
--------------------------------------
Summary: 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
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