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 have identified the problem to be in the convertAvroSchemaToJson function in parseAvroSchema.ts file. Here the if condition is looking for if ((column.type === 'record')) { but this will always be false as the column.type is a object.
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to generate data using avro schmea that has record type in the fields. Data is generated as string and the record type is ignored.
To Reproduce
tests/schema.avsc
datagen -s tests/schema.avsc -n 1 -dr -f avro
Expected behavior
The data should be generated as below
Screenshots
Additional context
I have identified the problem to be in the
convertAvroSchemaToJson
function inparseAvroSchema.ts
file. Here the if condition is looking forif ((column.type === 'record')) {
but this will always be false as thecolumn.type
is a object.The text was updated successfully, but these errors were encountered: