databricks / spark-avro

Avro Data Source for Apache Spark
http://databricks.com/
Apache License 2.0
539 stars 310 forks source link

Avro schemas with a self-reference yield StackOverflowError #295

Open quadrokeith opened 6 years ago

quadrokeith commented 6 years ago

When I have a schema which has a reference to itself, it causes an infinite recursion and thus a StackOverflowError, SchemaConverters should have some sort of bail-out if it reads a class more than once.