Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-38154 Set up a new GA job to run tests with ANSI mode
  3. SPARK-38325

ANSI mode: avoid potential runtime error in HashJoin.extractKeyExprAt()

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0, 3.2.2
    • 3.3.0, 3.2.2
    • SQL
    • None

    Description

      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.

      Attachments

        Activity

          People

            Gengliang.Wang Gengliang Wang
            Gengliang.Wang Gengliang Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: