Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/16608#discussion_r102536886
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala
---
@@ -163,9 +163,11 @@ object FunctionRegistry {
expression[Abs]("abs"),
expression[Coalesce]("coalesce"),
expression[Explode]("explode"),
+ expressionGeneratorOuter[Explode]("explode_outer"),
--- End diff --
Yes. Update the description and provide an example to users? Maybe hardcode
the function name instead of using `_FUNC_`?
```
@ExpressionDescription(
usage = "_FUNC_(expr) - Separates the elements of array `expr` into
multiple rows, or the elements of map `expr` into multiple rows and columns.",
extended = """
Examples:
> SELECT _FUNC_(array(10, 20));
10
20
""")
```
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]