resultJson.put("return_code", 400);
resultJson.put("error_message", "Urn format wrong!");
return ok(resultJson);
}
try {
<BUG>Map<String, Object> partition = DatasetInfoDao.getDatasetPartitionByDatasetUrn(urn);
</BUG>
resultJson.put("return_code", 200);
<BUG>resultJson.set("dataset_partition", Json.toJson(partition));
</BUG>
} catch (EmptyResultDataAccessException e) {

resultJson.put("return_code", 400);
resultJson.put("error_message", "Urn format wrong!");
return ok(resultJson);
}
try {
DatasetPartitionRecord record = DatasetInfoDao.getDatasetPartitionByDatasetUrn(urn);
resultJson.put("return_code", 200);
resultJson.set("partitionSpec", Json.toJson(record));
} catch (EmptyResultDataAccessException e) {
