spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "romain (Jira)" <j...@apache.org>
Subject [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
Date Wed, 30 Oct 2019 14:35:00 GMT
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


Mime
View raw message