<BUG>DatasetDefinition def = client.getDatasetDefinition(typeMeta, null);</BUG><CONTEXT>admin.create();return spec;}@Overridepublic void drop(DatasetSpecification spec, DatasetTypeMeta typeMeta) throws Exception {<extra_id_0>if (def == null) {throw new IllegalArgumentException("Dataset type cannot be instantiated for provided type meta: " + typeMeta);}</CONTEXT>
DatasetDefinition def = client.getDatasetDefinition(typeMeta, null).getFirst();