Aihua Xu created HIVE-10575:
-------------------------------
Summary: The error message for "No partition predicate found"
shows the incorrect table alias.
Key: HIVE-10575
URL: https://issues.apache.org/jira/browse/HIVE-10575
Project: Hive
Issue Type: Bug
Reporter: Aihua Xu
Priority: Minor
Running the following queries.
{noformat}
create table t1(key string, value string) partitioned by (ds string);
create table t2(key string, value string) partitioned by (ds string);
select * from (select * from t1 join t2 on t1.key=t2.key where t1.ds='1') t3;
FAILED: SemanticException [Error 10041]: No partition predicate found for Alias
"t3:t1" Table "t2"
{noformat}
In fact, the alias on the message should be "t3:t2".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)