Rui Li created HIVE-14719: ----------------------------- Summary: ASTNode rootNode is not maintained properly when changing child/parent relation Key: HIVE-14719 URL: https://issues.apache.org/jira/browse/HIVE-14719 Project: Hive Issue Type: Bug Reporter: Rui Li Assignee: Rui Li
When I run some query like: {code} set hive.cbo.enable=false; select * from A where exists (select * from B where B.k1=A.k1 and B.k2=A.k2); {code} It gets error like: {noformat} 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)) {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)