Github user dilipbiswal commented on the pull request: https://github.com/apache/spark/pull/11596#issuecomment-194167614 @cloud-fan Thanks !! Actually i remember exploring this option. There is a generate syntax for outer lateral view like following - ```SQL SELECT * FROM src LATERAL VIEW OUTER explode(array()) C AS a limit 10; ``` I thought if we converted this generate operator as a sub select where the generator is in projection list , we will loose the outer semantics. Thats why i felt safer to generate as a LATERAL VIEW clause.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org