After recent update of Hive hook, to replace use of V1 notifications with V2 notifications (
ATLAS-2491), 'alter view as' operation results in incorrect metadata update. Consider the following Hive statements which create a view and followed by an alter view:
With earlier Hive hook implementation, after "alter view as", 'view1' would have columns col1 and col2 as DELETED and col3, col4 as ACTIVE.
After update in
ATLAS-2491, view1 continues to show col1 and col2 in ACTIVE state; and doesn't have col3 and col4 columns.