Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/20914#discussion_r178321109
--- 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 --
We should fill the time zone in the optimizer rule
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]