Skip to content

Commit

Permalink
[SPARK-9908] [SQL] When spark.sql.tungsten.enabled is false, broadcas…
Browse files Browse the repository at this point in the history
…t join does not work

https://issues.apache.org/jira/browse/SPARK-9908

Author: Yin Huai <yhuai@databricks.com>

Closes #8149 from yhuai/SPARK-9908.
  • Loading branch information
yhuai authored and rxin committed Aug 13, 2015
1 parent 7c35746 commit 4413d08
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -66,7 +66,8 @@ private[joins] final class GeneralHashedRelation(
private var hashTable: JavaHashMap[InternalRow, CompactBuffer[InternalRow]])
extends HashedRelation with Externalizable {

private def this() = this(null) // Needed for serialization
// Needed for serialization (it is public to make Java serialization work)
def this() = this(null)

override def get(key: InternalRow): Seq[InternalRow] = hashTable.get(key)

Expand All @@ -88,7 +89,8 @@ private[joins]
final class UniqueKeyHashedRelation(private var hashTable: JavaHashMap[InternalRow, InternalRow])
extends HashedRelation with Externalizable {

private def this() = this(null) // Needed for serialization
// Needed for serialization (it is public to make Java serialization work)
def this() = this(null)

override def get(key: InternalRow): Seq[InternalRow] = {
val v = hashTable.get(key)
Expand Down

0 comments on commit 4413d08

Please sign in to comment.