案例实操
hive (default)> select
> e.empno,
> e.ename,
> d.deptno
> from
> emp e
> join
> dept d
> on
> e.deptno=d.deptno or e.ename=d.dname;
FAILED: SemanticException [Error 10019]: Line 10:3 OR not
supported in JOIN currently 'dname'
案例实操
hive (default)> select
> e.empno,
> e.ename,
> d.deptno
> from
> emp e
> join
> dept d
> on
> e.deptno=d.deptno or e.ename=d.dname;
FAILED: SemanticException [Error 10019]: Line 10:3 OR not
supported in JOIN currently 'dname'