OCCURS clause not working in COBOL source while loading to Avro/hive
occurs clause not working in COBOL source while loading to Avro/hive.
Problem:
1. Transpose of “OCCURS” clause in COBOL is not properly working as expected when converted to Hive.
2. Transpose of “OCCURS” clause in COBOL is not properly working as expected when converted to AVRO.
Reason for this issue is, COBOL data object is having duplicate columns in it.
For instance, FILLER_4 is present two times in the dataobject as shown below
We should rename one duplicate field and proceed.