Hello I have a hive query which contains a NOT IN clause. When I am trying to run this query in SPARK-SQL , it is giving me an unsupoported functionality exception.
Select A.primary_key,A.name,A.salary from spark.old A where A.primary_key NOT IN (Select B.primary_key from new B) UNION ALL Select C.primary_key,C.name,C.salary from spark.new C
Any other way to write this query? UNION ALL is working perfectly.