Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AUDIT] [SPARK-49653][SQL] Single join for correlated scalar subqueries #11690

Open
amahussein opened this issue Nov 4, 2024 · 1 comment
Open
Labels
audit General label for audit related tasks Spark 4.0+ Spark 4.0+ issues

Comments

@amahussein
Copy link
Collaborator

amahussein commented Nov 4, 2024

apache/spark@3c81f07

This Spark PR introduces a new join type LeftSingle that triggered changes in the query execution

  • sql/core/src/main/scala/org/apache/spark/sql/execution/joins/ShuffledJoin.scala
  • sql/core/src/main/scala/org/apache/spark/sql/execution/joins/HashJoin.scala
  • sql/core/src/main/scala/org/apache/spark/sql/execution/joins/BroadcastNestedLoopJoinExec.scala
  • sql/core/src/main/scala/org/apache/spark/sql/execution/adaptive/PlanAdaptiveSubqueries.scala

The PR adds single join implementation to support correlated scalar subqueries and introduces a new config spark.sql.optimizer.scalarSubqueryUseSingleJoin

@amahussein amahussein added ? - Needs Triage Need team to review and classify audit General label for audit related tasks Spark 4.0+ Spark 4.0+ issues labels Nov 4, 2024
@revans2
Copy link
Collaborator

revans2 commented Nov 4, 2024

I don't think that the link above is for this issue. The PR is apache/spark#48145 which appears to correspond to apache/spark@3c81f07 instead

@mattahrens mattahrens removed the ? - Needs Triage Need team to review and classify label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audit General label for audit related tasks Spark 4.0+ Spark 4.0+ issues
Projects
None yet
Development

No branches or pull requests

3 participants