@Override
  public String mapToClientType(String hiveTypeName) {
    String clientTypeName = hiveToClientMap.get(hiveTypeName);
    if (clientTypeName == null) {
      LOG.warn("Invalid hive table type " + hiveTypeName);
      return hiveTypeName;
    }
    return clientTypeName;
  }
ClassicTableTypeMapping.
Classic table type mapping :
 Managed Table ==&gt; Table
 External Table ==&gt; Table
 Virtual View ==&gt; View
service/src/java/org/apache/hive/service/cli/operation/ClassicTableTypeMapping.java