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

Gengliang Wang reassigned SPARK-48939:
--------------------------------------

    Assignee: Yuchen Liu

> Support recursive reference of Avro schema
> ------------------------------------------
>
>                 Key: SPARK-48939
>                 URL: https://issues.apache.org/jira/browse/SPARK-48939
>             Project: Spark
>          Issue Type: New Feature
>          Components: Connect
>    Affects Versions: 4.0.0
>            Reporter: Yuchen Liu
>            Assignee: Yuchen Liu
>            Priority: Major
>              Labels: pull-request-available
>
> Recursive reference denotes the case that the type of a field can be defined 
> before in the parent nodes. A simple example is:
> {code:java}
> {
>   "type": "record",
>   "name": "LongList",
>   "fields" : [
>     {"name": "value", "type": "long"},
>     {"name": "next", "type": ["null", "LongList"]}
>   ]
> }
> {code}
> This is written in Avro Schema DSL and represents a linked list data 
> structure. Spark currently will throw an error on this schema. Many users 
> used schema like this, so we should support it. 



--
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