Skip to content

Commit 15df98f

Browse files
committed
Fix
1 parent c4800ba commit 15df98f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/ExpressionDescription.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@
103103
String arguments() default "";
104104
String examples() default "";
105105
String note() default "";
106+
/**
107+
* Valid group names are almost the same with one defined as `groupname` in
108+
* `sql/functions.scala`. But, `collection_funcs` is split into fine-grained three groups:
109+
* `array_funcs`, `map_funcs`, and `json_funcs`. See `ExpressionInfo` for the
110+
* detailed group names.
111+
*/
106112
String group() default "";
107113
String since() default "";
108114
String deprecated() default "";

sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/ExpressionInfo.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ public class ExpressionInfo {
3939
private String since;
4040
private String deprecated;
4141

42-
// The groups below are almost the same with ones defined in `sql/functions.sql`.
43-
// But, `collection_funcs` is split into fine-grained three groups: `array_funcs`, `map_funcs`,
44-
// and `json_funcs`.
4542
private static final Set<String> validGroups =
4643
new HashSet<>(Arrays.asList("agg_funcs", "array_funcs", "datetime_funcs",
4744
"json_funcs", "map_funcs", "window_funcs"));

0 commit comments

Comments
 (0)