diff --git a/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/BatchScanExec.scala b/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/BatchScanExec.scala index 4b53819739262..ff74221c4a485 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/BatchScanExec.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/BatchScanExec.scala @@ -251,6 +251,7 @@ case class StoragePartitionJoinParams( replicatePartitions: Boolean = false) { override def equals(other: Any): Boolean = other match { case other: StoragePartitionJoinParams => + this.keyGroupedPartitioning == other.keyGroupedPartitioning && this.commonPartitionValues == other.commonPartitionValues && this.replicatePartitions == other.replicatePartitions && this.applyPartialClustering == other.applyPartialClustering @@ -259,6 +260,7 @@ case class StoragePartitionJoinParams( } override def hashCode(): Int = Objects.hashCode( + keyGroupedPartitioning: Option[Seq[Expression]], commonPartitionValues: Option[Seq[(InternalRow, Int)]], applyPartialClustering: java.lang.Boolean, replicatePartitions: java.lang.Boolean)