You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yingyi Bu (Jira)" <ji...@apache.org> on 2021/04/09 19:38:00 UTC

[jira] [Created] (SPARK-35014) A foldable expression could not be replaced by an AttributeReference

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org