try {
VarcharTypeParams typeParams = new VarcharTypeParams();
String lengthStr = node.getChild(0).getText();
Integer length = Integer.valueOf(lengthStr);
typeParams.setLength(length.intValue());
typeParams.validateParams();
return typeParams;
} catch (SerDeException err) {
throw new SemanticException(err);
}
}