Avery Qi created SPARK-49166: -------------------------------- Summary: Support OFFSET in correlated subquery Key: SPARK-49166 URL: https://issues.apache.org/jira/browse/SPARK-49166 Project: Spark Issue Type: Task Components: Optimizer Affects Versions: 4.0.0 Reporter: Avery Qi 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org