presto-kudu/src/main/java/io/prestosql/plugin/kudu/properties/KuduTableProperties.java/KuduTableProperties/toNumber
class KuduTableProperties:    private static Number toNumber(Object obj, Type type, String name)
    {
        if (Number.class.isAssignableFrom(obj.getClass())) {
            return (Number) obj;
        }
        else if (obj instanceof String) {
            String s = (String) obj;
            BigDecimal d = new BigDecimal((String) obj);
            return d;
        }
        else {
            handleInvalidValue(name, type, obj);
            return 0;
        }
    }