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

A foldable expression could not be replaced by an AttributeReference

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.3, 3.1.2, 3.2.0
    • Component/s: Optimizer
    • Labels:
      None

      Description

      The PhysicalAggregation pattern can replace a foldable expression with an AttributeReference. This would subsequently fail the checkInputDataTypes() call for certain expressions, e.g., RegExpReplace – `pos` cannot be an AttributeReference.

        Attachments

          Activity

            People

            • Assignee:
              buyingyi Yingyi Bu
              Reporter:
              buyingyi Yingyi Bu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: