My query looks like:
SELECT * FROM a WHERE a.col NOT IN (SELECT col FROM B)
When I execute the query I get the following error:
FAILED: SemanticException [Error 10052]: In strict mode, cartesian product is not allowed. If you really want to perform the operation, set hive.mapred.mode=nonstrict
Where is the cartesian product in my query and how can I avoid this error?
select a.* from a left join b on a.col = b.col where.col is null. - Andrew