Commit efdb492
committed
[SPARK-55277][SQL] Add
### What changes were proposed in this pull request?
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.
Changes:
- 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.
Closes #54059 from yaooqinn/SPARK-55277-protobuf-funcs-group.
Authored-by: Kent Yao <kentyao@microsoft.com>
Signed-off-by: Kent Yao <kentyao@microsoft.com>protobuf_funcs group for Protobuf SQL functions1 parent 8e65769 commit efdb492
2 files changed
Lines changed: 3 additions & 3 deletions
File tree
- sql
- catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions
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 | | |
| |||
| 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