presto-main/src/main/java/io/prestosql/operator/scalar/FormatFunction.java/FormatFunction/validateType
class FormatFunction:    public static void validateType(Metadata metadata, Type type)
    {
        valueConverter(metadata, type, 0);
    }