protected static IllegalArgumentException raiseWrongType(String expectedTokName, ASTNode n) {
    return new IllegalArgumentException("Expected " + expectedTokName + "; got " + n.getType());
  }
Get the unqualified name from a table node.

This method works for table names qualified with their schema (e.g., "db.table")
and table names without schema qualification. In both cases, it returns
the table name without the schema.

@param node the table node
@return the table name without schema qualification
        (i.e., if name is "db.table" or "table", returns "table")
@throws SemanticException
ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java