[ https://issues.apache.org/jira/browse/SPARK-35014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17318233#comment-17318233 ]
Apache Spark commented on SPARK-35014: -------------------------------------- User 'sigmod' has created a pull request for this issue: https://github.com/apache/spark/pull/32113 > 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 > Priority: Major > > 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