Hive: Best way to do incremetal updates on a main table
If merge in ACID mode is not applicable, then it’s possible to update using FULL OUTER JOIN or using UNION ALL + row_number. To find all entries that will be updated you can join increment data with old data: insert overwrite target_data [partition() if applicable] SELECT –select new if exists, old if not exists case … Read more