spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chang Chen <baibaic...@gmail.com>
Subject Question on HashJoin trait
Date Thu, 27 Jul 2017 01:43:55 GMT
Hi

I am reading Spark SQL codes,  what do streamedPlan and buildPlan
of HashJoin trait for?

protected lazy val (buildPlan, streamedPlan) = buildSide match {
  case BuildLeft => (left, right)
  case BuildRight => (right, left)
}


https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/joins/HashJoin.scala#L59

Thanks
Chang

Mime
View raw message