You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Herman van Hövell (Jira)" <ji...@apache.org> on 2025/06/11 14:36:00 UTC
[jira] [Created] (SPARK-52448) Add simplified Struct Expression.Literal
Herman van Hövell created SPARK-52448:
-----------------------------------------
Summary: Add simplified Struct Expression.Literal
Key: SPARK-52448
URL: https://issues.apache.org/jira/browse/SPARK-52448
Project: Spark
Issue Type: Task
Components: Connect, SQL
Affects Versions: 4.1.0
Reporter: Herman van Hövell
The current Expression.Struct literal is somewhat overcomplicated since it duplicates most of the information its fields already have. This is bulky to send over the wire, and it can be ambiguous.
{{message SimpleStruct {}}
{{ repeated StructField fields = 1;}}
{{}}}
{{message StructField {}}
{{ string name = 1;}}
{{ Literal value = 2;}}
{{ optional boolean nullable = 3;}}
{{ optional string metadata = 4;}}
{{}}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org