```
$ echo '20210101,A' | clickhouse-local --input-format CSV --structure 'd Date, s String' --query "SELECT * FROM table"
Code: 27. DB::Exception: Cannot parse input: expected ',' before: '20210101,A\n': 
Row 1:
Column 0,   name: d, type: Date,   ERROR: text "20210101,A" is not like Date

: While executing ParallelParsingBlockInputFormat: While executing File. (CANNOT_PARSE_INPUT_ASSERTION_FAILED)
```

**How to solve**

Disambiguate while parsing by absense of separators between YYYY-MM-DD.
{
    readDateTextImpl<void>(date, buf);
}
inline bool tryReadDateText(LocalDate & date, ReadBuffer & buf)
{
    return readDateTextImpl<bool>(date, buf);
}
inline bool tryReadDateText(DayNum & date, ReadBuffer & buf)
{
    return readDateTextImpl<bool>(date, buf);
}
inline bool tryReadDateText(ExtendedDayNum & date, ReadBuffer & buf)
{
    return readDateTextImpl<bool>(date, buf);
}
template <typename ReturnType = void>
inline ReturnType readUUIDTextImpl(UUID & uuid, ReadBuffer & buf)
{
    static constexpr bool throw_exception = std::is_same_v<ReturnType, void>;
    char s[36];
    size_t size = buf.read(s, 32);
    if (size == 32)
    {
        if (s[8] == '-')
        {
            size += buf.read(&s[32], 4);
            if (size != 36)
            {