Kent Yao created SPARK-55127:
--------------------------------
Summary: [SQL] Add avro_funcs group for Avro SQL functions
Key: SPARK-55127
URL: https://issues.apache.org/jira/browse/SPARK-55127
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 4.0.0
Reporter: Kent Yao
Currently, the Avro SQL functions (from_avro, to_avro, schema_of_avro) are
grouped under 'misc_funcs'.
To be consistent with other data format functions like XML (xml_funcs), JSON
(json_funcs), and CSV (csv_funcs), this change adds a new function group
'avro_funcs' specifically for Avro-related SQL functions.
Changes:
1. Added 'avro_funcs' to the valid groups in ExpressionInfo.java
2. Updated the group attribute for FromAvro, ToAvro, and SchemaOfAvro
expressions from 'misc_funcs' to 'avro_funcs'
3. Updated ExpressionInfoSuite.scala test to include 'avro_funcs' in valid
groups
This improves documentation organization and discoverability of Avro functions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]