[
https://issues.apache.org/jira/browse/PARQUET-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14205005#comment-14205005
]
Ryan Blue commented on PARQUET-129:
-----------------------------------
I think the correct resolution is to catch recursive schemas and fail. We could
design a system for storing recursive records, but it would be a lot of work.
So if we need this feature in the long term we can keep this open, but the
short-term solution is to reject schemas like this.
> 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)