We're updating the issue view to help you get more done. 

Schema Editor creating name of record type to be name-<uuid>

Description

When the schema is set to be type Array or Record, and then the nested type to be of type Record, the Record will get assigned the name to be name-<uuid>. This causes an error when the sink is BigQuery (only tested this scenario for BQ Sink):

 

 

Code location: https://github.com/cdapio/cdap/blob/887b507714a645701be4d58db5b91c87d55db220/cdap-ui/app/cdap/components/AbstractWidget/SchemaEditor/Context/SchemaGenerator.ts#L124

Release Notes

Bugfix in schema editor to generate name for record types that conforms to avro schema spec. The existing behavior added `-` in name which isn't supported by avro schema.

Activity

Show:
Ajai Narayanan
September 22, 2020, 5:31 AM
Edited
Ajai Narayanan
September 25, 2020, 7:48 PM
Fixed

Assignee

Ajai Narayanan

Reporter

Edwin Elia

Labels

None

Docs Impact

None

UX Impact

None

Components

Fix versions

Affects versions

Priority

Blocker
Configure