[
https://issues.apache.org/jira/browse/PARQUET-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16311809#comment-16311809
]
Ryan Blue commented on PARQUET-129:
-----------------------------------
[~wdaehn], if you'd like to pick this up and implement something to get around
the restriction, that would be great. A little more work has been done for this
using Avro's logical types to break circular references. Check out this test
for an example:
https://github.com/apache/parquet-mr/blob/master/parquet-avro/src/test/java/org/apache/parquet/avro/TestCircularReferences.java
That doens't happen transparently, but I think that's similar to what you're
proposing.
> 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.4.14#64029)