Fix conversion of Spark struct type to Avro schema
cr https://code.amazon.com/reviews/CR-17184364
This commit is contained in:
committed by
Bhavani Sudha Saktheeswaran
parent
fd8f1c70c0
commit
2bb0c21a3d
@@ -343,7 +343,7 @@ object AvroConversionHelper {
|
||||
avroSchema,
|
||||
field.dataType,
|
||||
field.name,
|
||||
getNewRecordNamespace(field.dataType, recordNamespace, field.name)))
|
||||
getNewRecordNamespace(field.dataType, recordNamespace, structName)))
|
||||
(item: Any) => {
|
||||
if (item == null) {
|
||||
null
|
||||
|
||||
Reference in New Issue
Block a user