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

[jira] [Resolved] (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:all-tabpanel ]

Wenchen Fan resolved SPARK-35014.
---------------------------------
    Fix Version/s: 3.0.3
                   3.1.2
                   3.2.0
       Resolution: Fixed

> 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
>            Assignee: Yingyi Bu
>            Priority: Major
>             Fix For: 3.2.0, 3.1.2, 3.0.3
>
>
> 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