}
private void analyzeAlterTableSerde(ASTNode ast) throws SemanticException {
String tableName = unescapeIdentifier(ast.getChild(0).getText());
String serdeName = unescapeSQLString(ast.getChild(1).getText());
alterTableDesc alterTblDesc = new alterTableDesc(alterTableTypes.ADDSERDE);
if(ast.getChildCount() > 2) {
HashMap<String, String> mapProp = getProps((ASTNode)(ast.getChild(2)).getChild(0));
alterTblDesc.setProps(mapProp);
}
alterTblDesc.setOldName(tableName);
alterTblDesc.setSerdeName(serdeName);
rootTasks.add(TaskFactory.get(new DDLWork(getInputs(), getOutputs(), alterTblDesc), conf));
}