We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0bbb43 commit 64603b5Copy full SHA for 64603b5
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/estimation/JoinEstimation.scala
@@ -164,10 +164,10 @@ object JoinEstimation {
164
leftKeys: Seq[Expression],
165
rightKeys: Seq[Expression]): Seq[(AttributeReference, AttributeReference)] = {
166
leftKeys.zip(rightKeys).flatMap {
167
+ case (ExtractAttr(left), ExtractAttr(right)) => Some((left, right))
168
// Currently we don't deal with equal joins like key1 = key2 + 5.
169
// Note: join keys from EqualNullSafe also fall into this case (Coalesce), consider to
170
// support it in the future by using `nullCount` in column stats.
- case (ExtractAttr(left), ExtractAttr(right)) => Some((left, right))
171
case _ => None
172
}
173
0 commit comments