Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
this issue was hidden; because of HIVE-18238
create table agg_01 (amount int, dim_shops_id int); create table dim_shops (id int); EXPLAIN SELECT agg.amount FROM agg_01 agg, dim_shops d1 WHERE agg.dim_shops_id = d1.id and agg.dim_shops_id = 1;
emits a cartesian product error
2017-12-07T04:48:20,612 ERROR [c7a4797b-2635-4e28-9e0b-af2e4d26f2bc main] ql.Driver: FAILED: SemanticException Cartesian products are disabled for safety reasons. If you know what you are doing, please sethive.strict.checks.cartesian.product to false and that hive.mapred.mode is not set to 'strict' to proceed. Note that if you may get errors or incorrect results if you make a mistake while using some of the unsafe features.
It doesn't seem to be that a cartesian join being happening...possibly the check is overreacting...
Attachments
Issue Links
- blocks
-
HIVE-18238 Driver execution may not have configuration changing sideeffects
- Closed