Github user robert3005 commented on a diff in the pull request:
https://github.com/apache/spark/pull/20914#discussion_r178168714
--- Diff:
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/PropagateEmptyRelationSuite.scala
---
@@ -107,7 +112,7 @@ class PropagateEmptyRelationSuite extends PlanTest {
val query = testRelation1
.where(left)
.join(testRelation2.where(right), joinType = jt, condition =
Some('a.attr == 'b.attr))
- val optimized = Optimize.execute(query.analyze)
+ val optimized = Optimize.execute(query.analyze).analyze
--- End diff --
the subsequent analyze here is to fill in timezones on casts inserted by
Optimize
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]