Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-38347

Nullability propagation in transformUpWithNewOutput

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.3.0, 3.2.2
    • SQL
    • None

    Description

      The nullability of a replaced attribute should be `a.nullable` instead of `b.nullable`:
      https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/QueryPlan.scala#L357

      The scenario is a left outer join where the RHS attributes are replaced bottom up.

      Attachments

        Activity

          People

            buyingyi Yingyi Bu
            buyingyi Yingyi Bu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: