You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if this is the right place to ask a question, but lets try!
I tried to introduce some kind of generic wrapper, it occurs that there is namespace clash based on error message. Or maybe how I can model it differently ? (this is minimal code I have plenty of other V types )
Question: Is there any workaround which will make this working.
org.apache.avro.SchemaParseException: Can't redefine: Playground.MaybeValue.Modified at org.apache.avro.Schema$Names.put(Schema.java:1586) at org.apache.avro.Schema$NamedSchema.writeNameRef(Schema.java:844) at org.apache.avro.Schema$RecordSchema.toJson(Schema.java:1011) at org.apache.avro.Schema$UnionSchema.toJson(Schema.java:1278) at org.apache.avro.Schema$RecordSchema.fieldsToJson(Schema.java:1039) at org.apache.avro.Schema$RecordSchema.toJson(Schema.java:1023) at org.apache.avro.Schema.toString(Schema.java:433) at org.apache.avro.Schema.toString(Schema.java:405) at org.apache.avro.Schema.toString(Schema.java:396) at java.base/java.lang.String.valueOf(String.java:4216) at java.base/java.lang.StringBuilder.append(StringBuilder.java:173) at scala.collection.IterableOnceOps.addString(IterableOnce.scala:1221) at scala.collection.IterableOnceOps.addString$(IterableOnce.scala:1216) at scala.collection.AbstractIterator.addString(Iterator.scala:1300) at scala.collection.IterableOnceOps.mkString(IterableOnce.scala:1166) at scala.collection.IterableOnceOps.mkString$(IterableOnce.scala:1164) at scala.collection.AbstractIterator.mkString(Iterator.scala:1300) at scala.runtime.ScalaRunTime$._toString(ScalaRunTime.scala:156) at scala.util.Right.toString(Either.scala:471)....
The text was updated successfully, but these errors were encountered:
marcin-jozefowicz
changed the title
Problem with namespace clashes for generic wrapper classess
Problem with namespace clashes for generic wrapper classess | SchemaParseException: Can't redefine
Jul 3, 2023
Hi!
I don't know if this is the right place to ask a question, but lets try!
I tried to introduce some kind of generic wrapper, it occurs that there is namespace clash based on error message. Or maybe how I can model it differently ? (this is minimal code I have plenty of other
V
types )Question: Is there any workaround which will make this working.
Error output:
Scastie link
The text was updated successfully, but these errors were encountered: