} else if (type.getMinorType().name().startsWith("DECIMAL")) {
newArgs.add(new ValueExpressions.LongExpression(type.getPrecision(), null));
newArgs.add(new ValueExpressions.LongExpression(type.getScale(), null));
}
FunctionCall fc = new FunctionCall(castFuncWithType, newArgs, e.getPosition());
return fc.accept(this, value);
}
}
private boolean castEqual(ExpressionPosition pos, MajorType from, MajorType to){
if(!from.getMinorType().equals(to.getMinorType())) return false;