allisonwang-db commented on a change in pull request #35232:
URL: https://github.com/apache/spark/pull/35232#discussion_r790084746



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala
##########
@@ -2801,6 +2801,11 @@ class Analyzer(override val catalogManager: 
CatalogManager)
           p
         }
 
+      case g @ Generate(GeneratorOuter(generator), _, _, _, _, _) =>
+        g.copy(generator = generator,

Review comment:
       nit: `g.copy(generator = generator, outer = true)`
   
   How about queries like this?  `select * from values 1, 2 lateral view outer 
explode_outer(array()) as b;` 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to