I'm trying run this a query, with a JOIN without ON property.
I'm running the query like:
hive -v -f my_file.hql
I got this message:
In strict mode, cartesian product is not allowed. If you really want to perform the operation, set hive.mapred.mode=nonstrict
I update the hql file with:set hive.mapred.mode=nonstrict on top of it.
But then I got this message:
SET hive.mapred.mode=nonstrict Query returned non-zero code: 1, cause: Cannot modify hive.mapred.mode at runtime. It is in the listof parameters that can't be modified at runtime
How I can solve this issue?
ps: I want to make this cartesian product.
How I make it happen? Where I can set this variable hive.mapred.mode works ?
ON? Apparently Hive cannot optimize converting a where clause to aON. - spijs