You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "romain (Jira)" <ji...@apache.org> on 2019/10/30 14:35:00 UTC

[jira] [Created] (SPARK-29662) Cannot have circular references in bean class, but got the circular reference of class class io.cdap.cdap.api.data.schema.Schema

romain created SPARK-29662:
------------------------------

             Summary: Cannot have circular references in bean class, but got the circular reference of class class io.cdap.cdap.api.data.schema.Schema
                 Key: SPARK-29662
                 URL: https://issues.apache.org/jira/browse/SPARK-29662
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 2.3.4
            Reporter: romain


i'm unable to convert JavaRdd<StructuredRecord> to DataSet<Row> 

i'm using cdap 6.0.0 or 5.1.2 with spark 2.3.4

Encoder<StructuredRecord> encoderStruct = Encoders.bean(StructuredRecord.class);

this line make this error: 

"Cannot have circular references in bean class, but got the circular reference of class class io.cdap.cdap.api.data.schema.Schema"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org