Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ public class ExpressionInfo {
"bitwise_funcs", "collection_funcs", "predicate_funcs", "conditional_funcs",
"conversion_funcs", "csv_funcs", "datetime_funcs", "generator_funcs", "hash_funcs",
"json_funcs", "lambda_funcs", "map_funcs", "math_funcs", "misc_funcs",
"string_funcs", "struct_funcs", "window_funcs", "xml_funcs", "table_funcs",
"url_funcs", "variant_funcs", "vector_funcs", "st_funcs"));
"protobuf_funcs", "string_funcs", "struct_funcs", "window_funcs", "xml_funcs",
"table_funcs", "url_funcs", "variant_funcs", "vector_funcs", "st_funcs"));

private static final Set<String> validSources =
new HashSet<>(Arrays.asList("built-in", "hive", "python_udf", "scala_udf", "sql_udf",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ import org.apache.spark.util.Utils
To deserialize the data with a compatible and evolved schema, the expected Protobuf schema can be
set via the corresponding option.
""",
group = "misc_funcs",
group = "protobuf_funcs",
since = "4.0.0"
)
// scalastyle:on line.size.limit
Expand Down Expand Up @@ -195,7 +195,7 @@ case class FromProtobuf(
> SELECT _FUNC_(s, 'Person', '/path/to/descriptor.desc', map('emitDefaultValues', 'true')) IS NULL FROM (SELECT NULL AS s);
[true]
""",
group = "misc_funcs",
group = "protobuf_funcs",
since = "4.0.0"
)
// scalastyle:on line.size.limit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ class ExpressionInfoSuite extends SparkFunSuite with SharedSparkSession {
"agg_funcs", "array_funcs", "avro_funcs", "binary_funcs", "bitwise_funcs", "collection_funcs",
"predicate_funcs", "conditional_funcs", "conversion_funcs", "csv_funcs", "datetime_funcs",
"generator_funcs", "hash_funcs", "json_funcs", "lambda_funcs", "map_funcs", "math_funcs",
"misc_funcs", "string_funcs", "struct_funcs", "window_funcs", "xml_funcs", "table_funcs",
"url_funcs", "variant_funcs", "vector_funcs", "st_funcs").sorted
"misc_funcs", "protobuf_funcs", "string_funcs", "struct_funcs", "window_funcs", "xml_funcs",
"table_funcs", "url_funcs", "variant_funcs", "vector_funcs", "st_funcs").sorted
val invalidGroupName = "invalid_group_funcs"
checkError(
exception = intercept[SparkIllegalArgumentException] {
Expand Down
2 changes: 1 addition & 1 deletion sql/gen-sql-functions-docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"bitwise_funcs", "conversion_funcs", "csv_funcs",
"xml_funcs", "lambda_funcs", "collection_funcs",
"url_funcs", "hash_funcs", "struct_funcs",
"table_funcs", "variant_funcs"
"table_funcs", "variant_funcs", "protobuf_funcs"
}


Expand Down