[ 
https://issues.apache.org/jira/browse/PARQUET-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14299406#comment-14299406
 ] 

Julien Le Dem commented on PARQUET-129:
---------------------------------------

related to discussion here:
https://github.com/Parquet/parquet-mr/issues/369

One approach is to have a setting with max depth and unroll the schema. Then 
fail if there's a record larger than that.

> AvroParquetWriter can't save object who can have link to object of same type
> ----------------------------------------------------------------------------
>
>                 Key: PARQUET-129
>                 URL: https://issues.apache.org/jira/browse/PARQUET-129
>             Project: Parquet
>          Issue Type: Bug
>         Environment: parquet version 1.5.0
>            Reporter: Dmitriy
>
> When i try to write instance of UserTestOne created from following schema 
> {"namespace": "com.example.avro",
>  "type": "record",
>  "name": "UserTestOne",
>  "fields": [{"name": "name", "type": "string"},   {"name": "friend",  "type": 
> ["null", "UserTestOne"], "default":null} ]
> }
> I get java.lang.StackOverflowError 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to