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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to