not in 求差集(不是老板的員工)
select * from emp e where e.empno not in (select e1.mgr from emp e1 where e1.mgr is not null);
報錯如下:
需要在hive 客戶端將這個值設置為 false 即可
set hive.strict.checks.cartesian.product=false;
select * from emp e where e.empno not in (select e1.mgr from emp e1 where e1.mgr is not null);
報錯如下:
需要在hive 客戶端將這個值設置為 false 即可
set hive.strict.checks.cartesian.product=false;
2018-12-01
舉報
2019-08-27
set hive.strict.checks.cartesian.product=false;