Actions Taken:
Set up containers to execute the code locally
The code was tested locally and found the same issue as EMR
_File "/home/hadoop/.local/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 6252, in _raise_if_missing
raise KeyError(f"{notfound} not in index")
KeyError: "['Occurrence Remarks'] not in index"
Command exiting with ret '1'Occurrence Remarks column is missing from the data provided by the data provider
Tested code by removing Occurrence Remarks column - Code works perfectly
Possible solutions:
Push changed code as hotfix / ask the data provider about the change / create a new branch to push the changes
Ticket Update: July 17, 2024 (1:30 PM)
Issue: APII Fetcher failed
Solution: Fix APII fetcher code
Actions Taken: Set up containers to execute the code locally The code was tested locally and found the same issue as EMR _File "/home/hadoop/.local/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 6252, in _raise_if_missing raise KeyError(f"{notfound} not in index") KeyError: "['Occurrence Remarks'] not in index" Command exiting with ret '1' Occurrence Remarks column is missing from the data provided by the data provider Tested code by removing Occurrence Remarks column - Code works perfectly
Possible solutions: Push changed code as hotfix / ask the data provider about the change / create a new branch to push the changes