tanelk commented on code in PR #711:
URL: https://github.com/apache/incubator-sedona/pull/711#discussion_r1026562679
##########
sql/src/main/scala/org/apache/spark/sql/sedona_sql/strategy/join/JoinQueryDetector.scala:
##########
@@ -206,14 +223,32 @@ class JoinQueryDetector(sparkSession: SparkSession)
extends Strategy {
}
}
- private def planBroadcastJoin(left: LogicalPlan,
- right: LogicalPlan,
- children: Seq[Expression],
- spatialPredicate: SpatialPredicate,
- indexType: IndexType,
- broadcastLeft: Boolean,
- extraCondition: Option[Expression],
- distance: Option[Expression]): Seq[SparkPlan]
= {
+ private def planBroadcastJoin(
+ left: LogicalPlan,
+ right: LogicalPlan,
+ children: Seq[Expression],
+ joinType: JoinType,
+ spatialPredicate: SpatialPredicate,
+ indexType: IndexType,
+ broadcastLeft: Boolean,
+ broadcastRight: Boolean,
+ extraCondition: Option[Expression],
+ distance: Option[Expression]): Seq[SparkPlan] = {
+
+ val broadcastSide = joinType match {
Review Comment:
I'll cover `LeftExistence` in a followup - it's more tedious to implement
and test.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]