You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2025/07/21 23:03:00 UTC

[jira] [Assigned] (SPARK-52448) Add simplified Struct Expression.Literal

     [ https://issues.apache.org/jira/browse/SPARK-52448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon reassigned SPARK-52448:
------------------------------------

    Assignee: Yihong He

> 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
>            Assignee: Yihong He
>            Priority: Major
>              Labels: pull-request-available
>
> 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