Details
-
Bug
-
Status: New
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
All
-
[Tech debt]
-
Small
Description
Into an Avro Schema, if a Union contains multiple reference to a CustomType, there is a high probability of a fail during the conversion process of the Schema to a Json.
org.apache.avro.SchemaParseException: Can't redefine: custom_enum_map.CustomType at org.talend.dataset.services.sample.AvroUtils$.toJson(AvroUtils.scala:74) at org.talend.dataset.services.sample.SemanticTypeAnalyzer.org$talend$dataset$services$sample$SemanticTypeAnalyzer$$setSchemaMetadataProps(SemanticTypeAnalyzer.scala:244)
Flattening is failling with AVRO/OSA/MultiLevelComplexWithoutRefInUnion.avro on the tdc-sde bucket
Attachments
Issue Links
- is cloned by
-
TFD-7373 CustomType in Union of an AvroFile can induce a failure in dataset samples
-
- Rejected
-