Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/16608#discussion_r96276686 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/functions.scala --- @@ -2871,6 +2871,15 @@ object functions { def explode(e: Column): Column = withExpr { Explode(e.expr) } /** + * Creates a new row for each element in the given array or map column. + * Unlike explode, if the array/map is null or empty then null is produced. + * + * @group collection_funcs + * @since 2.2.0 + */ + def outer_explode(e: Column): Column = withExpr { new OuterExplode(e.expr) } --- End diff -- Naming: `explode_outer`
--- 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