How do I do an EXCEPT clause (like SQL) in Hive QL
EXCEPT
I have 2 tables, and each table is a column of unique ids.
I want to find the list of ids tha
We can use NOT EXISTS clause in Hive as MINUS equivalent.
SELECT t1.id FROM t1 WHERE NOT EXISTS (SELECT 1 from t2 WHERE t2.id = t1.id);