Skip to content

Commit

Permalink
SPARK-44659
Browse files Browse the repository at this point in the history
  • Loading branch information
sunchao committed Aug 3, 2023
1 parent f824d05 commit e56db26
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit e56db26

Please sign in to comment.