}
@Test
public void toNumber() throws Exception {
List<Expression> args = Lists.newArrayList(getInvertedLiteral("10", PDataType.VARCHAR));
evaluateAndAssertResult(new ToNumberFunction(args, FunctionArgumentType.CHAR, "", null), new BigDecimal(BigInteger.valueOf(1), -1));
}