this.getExpression().deepCopy(lgExpPlan),
castSchema.deepCopy());
try {
FuncSpec origFuncSpec = this.getFuncSpec();
if (origFuncSpec != null ) {
((CastExpression)copy).setFuncSpec(origFuncSpec.clone());
}
} catch(CloneNotSupportedException e) {
e.printStackTrace();
}
copy.setLocation( new SourceLocation( location ) );