Yingyi Bu created SPARK-35014:
---------------------------------

             Summary: A foldable expression could not be replaced by an 
AttributeReference
                 Key: SPARK-35014
                 URL: https://issues.apache.org/jira/browse/SPARK-35014
             Project: Spark
          Issue Type: Bug
          Components: Optimizer
    Affects Versions: 3.0.0
            Reporter: Yingyi Bu


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to