You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/04/09 19:43:00 UTC
[jira] [Commented] (SPARK-35014) A foldable expression could not be
replaced by an AttributeReference
[ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org