public static List<FieldSchema> getFieldsFromDeserializer(String name, Deserializer serde, Configuration conf)
      throws HiveException {
    try {
      return HiveMetaStoreUtils.getFieldsFromDeserializer(name, serde, conf);
    } catch (SerDeException e) {
      throw new HiveException("Error in getting fields from serde. " + e.getMessage(), e);
    } catch (MetaException e) {
      throw new HiveException("Error in getting fields from serde." + e.getMessage(), e);
    }
  }
@return the metastore client for the current thread
@throws MetaException
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java