[
https://issues.apache.org/jira/browse/PARQUET-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16311854#comment-16311854
]
Werner Daehn commented on PARQUET-129:
--------------------------------------
LogicalType.....how is that used to "break the circular references"? I did not
get that idea. An Avro logical type is just a synonym for a datatype - simple
(like timestamp->long) or complex. But how is that related to circular
references? Isn't that more for the flattening approach??
I will have a look into it, okay. I am just so spanking new to these internals,
hence scared a bit.
> 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)