Github user viirya commented on a diff in the pull request:
https://github.com/apache/spark/pull/20402#discussion_r164035997
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala
---
@@ -108,6 +108,7 @@ abstract class Optimizer(sessionCatalog: SessionCatalog)
// However, because we also use the analyzer to canonicalized queries
(for view definition),
// we do not eliminate subqueries or compute current time in the
analyzer.
Batch("Finish Analysis", Once,
+ EliminateBarriers,
--- End diff --
By moving `EliminateBarriers` here, I think we will see analysis barrier
when showing analyzed plan?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]