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.

Beginner Asked on January 23, 2020 in Diyotta Monitor.
Add Comment
1 Answer(s)
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

RE: OCCURS clause not working in COBOL source while loading to Avro/hive

We should rename one duplicate field and proceed.
Expert Answered on February 3, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.