```
$ 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.
readBinaryBigEndian(T & x, ReadBuffer & buf)    
{
    for (size_t i = 0; i != std::size(x.items); ++i)
    {
        auto & item = x.items[std::size(x.items) - i - 1];
        readBinaryBigEndian(item, buf);
    }
}
inline void readText(is_integer auto & x, ReadBuffer & buf)
{
    if constexpr (std::is_same_v<decltype(x), bool &>)
        readBoolText(x, buf);
    else
        readIntText(x, buf);
}
inline bool tryReadText(is_integer auto & x, ReadBuffer & buf)
{
    return tryReadIntText(x, buf);
}
inline void readText(is_floating_point auto & x, ReadBuffer & buf) { readFloatText(x, buf); }