* @param ast The parsed command tree.
* @throws SemanticException Parsin failed
*/
private void analyzeShowFunctions(ASTNode ast)
throws SemanticException {
showFunctionsDesc showFuncsDesc;
if (ast.getChildCount() == 1) {
String funcNames = stripQuotes(ast.getChild(0).getText());
showFuncsDesc = new showFunctionsDesc(ctx.getResFile(), funcNames);
}
else {
showFuncsDesc = new showFunctionsDesc(ctx.getResFile());
}
rootTasks.add(TaskFactory.get(new DDLWork(getInputs(), getOutputs(), showFuncsDesc), conf));
setFetchTask(createFetchTask(showFuncsDesc.getSchema()));
}