Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
When I run some query like:
set hive.cbo.enable=false;
select * from A where exists (select * from B where B.k1=A.k1 and B.k2=A.k2);
It gets error like:
FAILED: SemanticException Line 0:-1 Invalid table alias or column reference 'sq_1': (possible column names are: _table_or_col b) k2) sq_corr_1)) (tok, (. (tok_table_or_col sq_1) sq_corr_1))