c21 commented on a change in pull request #29342:
URL: https://github.com/apache/spark/pull/29342#discussion_r465329042



##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/joins/HashedRelation.scala
##########
@@ -128,15 +135,18 @@ private[execution] object HashedRelation {
 private[joins] class UnsafeHashedRelation(
     private var numKeys: Int,
     private var numFields: Int,
-    private var binaryMap: BytesToBytesMap)
+    private var binaryMap: BytesToBytesMap,
+    private val isLookupAware: Boolean = false)
   extends HashedRelation with Externalizable with KryoSerializable {
 
-  private[joins] def this() = this(0, 0, null)  // Needed for serialization
+  private[joins] def this() = this(0, 0, null, false)  // Needed for 
serialization
 
-  override def keyIsUnique: Boolean = binaryMap.numKeys() == 
binaryMap.numValues()
+  override def keyIsUnique: Boolean = {

Review comment:
       @cloud-fan - sorry, was doing some debugging and forgot to change back. 
updated.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to