[ut](meta) added unit test for frontend service impl (#28455)
This commit is contained in:
@ -81,7 +81,7 @@ public class MetadataGenerator {
|
||||
private static final Logger LOG = LogManager.getLogger(MetadataGenerator.class);
|
||||
|
||||
public static TFetchSchemaTableDataResult getMetadataTable(TFetchSchemaTableDataRequest request) throws TException {
|
||||
if (!request.isSetMetadaTableParams()) {
|
||||
if (!request.isSetMetadaTableParams() || !request.getMetadaTableParams().isSetMetadataType()) {
|
||||
return errorResult("Metadata table params is not set. ");
|
||||
}
|
||||
TFetchSchemaTableDataResult result;
|
||||
|
||||
Reference in New Issue
Block a user