[ 
https://issues.apache.org/jira/browse/SPARK-48206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kelvin Jiang updated SPARK-48206:
---------------------------------
    Description: Window expressions can be potentially problematic if we pull 
out a window expression outside a `Window` operator. Right now this shouldn't 
happen but we should add some tests to make sure it doesn't break.  (was: 
Similar to https://issues.apache.org/jira/browse/SPARK-47839, but for windows. 
Currently we don't fail the query, but we end up inlining the common expression 
which defeats the purpose of having it in the first place.)

> Add tests for window expression rewrites in RewriteWithExpression
> -----------------------------------------------------------------
>
>                 Key: SPARK-48206
>                 URL: https://issues.apache.org/jira/browse/SPARK-48206
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Kelvin Jiang
>            Priority: Major
>
> Window expressions can be potentially problematic if we pull out a window 
> expression outside a `Window` operator. Right now this shouldn't happen but 
> we should add some tests to make sure it doesn't break.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to