@Override
  public void setQueryType(ASTNode tree) {
    // UPDATE/DELETE/MERGE queries are handled with RewriteSemanticAnalyzer
    queryProperties.setQueryType(QueryProperties.QueryType.DML);
  }
Does this Entity belong to target table (partition).
ql/src/java/org/apache/hadoop/hive/ql/parse/RewriteSemanticAnalyzer.java