You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "GuangWeiHong (Jira)" <ji...@apache.org> on 2023/03/20 10:01:00 UTC

[jira] [Updated] (SPARK-42869) can not analyze window exp on sub query

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

GuangWeiHong updated SPARK-42869:
---------------------------------
    Attachment: image-2023-03-20-18-00-40-578.png

> can not analyze window exp on sub query
> ---------------------------------------
>
>                 Key: SPARK-42869
>                 URL: https://issues.apache.org/jira/browse/SPARK-42869
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.2.1
>            Reporter: GuangWeiHong
>            Priority: Major
>         Attachments: image-2023-03-20-18-00-40-578.png
>
>
>  
> SELECT * FROM ( SELECT *, COUNT(1) OVER itr AS grp_size FROM test WINDOW itr AS (PARTITION BY model) ) tbl WINDOW itr2 AS (PARTITION BY model )
>  
> Window specification itr is not defined in the WINDOW clause.
>  



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

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