if (mTable == null) {
throw new NoSuchObjectException("Table " + tableName +
" for which stats is requested doesn't exist.");
}
MPartition mPartition =
getMPartition(dbName, tableName, partVal);
if (mPartition == null) {
throw new
NoSuchObjectException("Partition " + partName +
" for which stats is requested doesn't exist");
}
MStorageDescriptor mSDS = mPartition.getSd();
List<MFieldSchema> colList = mSDS.getCD().getCols();
for(MFieldSchema mCol:colList) {
if (mCol.getName().equals(colName.trim())) {
foundCol = true;