Commit f98168b
committed
[SPARK-55277][SQL] Add protobuf_funcs group for Protobuf SQL functions
Similar to how Avro functions have their own 'avro_funcs' group, Protobuf functions (from_protobuf, to_protobuf) should have their own 'protobuf_funcs' group instead of being grouped under 'misc_funcs'.
This improves consistency with how other format-specific functions are organized and makes the documentation clearer for users.
### What changes were proposed in this pull request?
- Move from_protobuf and to_protobuf from misc_funcs to protobuf_funcs
- Add protobuf_funcs to the groups set in gen-sql-functions-docs.py
### Why are the changes needed?
Consistency with avro_funcs, json_funcs, csv_funcs, xml_funcs groupings.
### Does this PR introduce _any_ user-facing change?
No functional changes. The only difference is in how functions are grouped in documentation.
### How was this patch tested?
Existing tests.
### Was this patch authored or co-authored using generative AI tooling?
Yes, GitHub Copilot was used to assist with this change.1 parent 4a58b84 commit f98168b
4 files changed
Lines changed: 7 additions & 7 deletions
File tree
- sql
- catalyst/src/main
- java/org/apache/spark/sql/catalyst/expressions
- scala/org/apache/spark/sql/catalyst/expressions
- core/src/test/scala/org/apache/spark/sql/expressions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
| 62 | + | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments