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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to