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 2025/04/28 13:49:00 UTC

[jira] [Updated] (SPARK-49166) Support OFFSET in correlated subquery

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

Wenchen Fan updated SPARK-49166:
--------------------------------
        Parent: SPARK-35553
    Issue Type: Sub-task  (was: Task)

> Support OFFSET in correlated subquery
> -------------------------------------
>
>                 Key: SPARK-49166
>                 URL: https://issues.apache.org/jira/browse/SPARK-49166
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Optimizer
>    Affects Versions: 4.0.0
>            Reporter: Avery Qi
>            Assignee: Avery Qi
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> Subqueries with correlation with OFFSET are not supported due to a correctness bug introduced before(https://issues.apache.org/jira/browse/SPARK-46446 )
> Offset operator are not allowed in all types of correlated subqueries: scalar, lateral, IN, EXISTS.
> The ticket aims to add support for offset in DecorrelateInnerQuery (the transformation is into a filter on row_number window function, similar to limit).



--
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