When you parse Date column which have values bigger than by different format 

```sql
DROP TABLE IF EXISTS test_date_imports;
create temporary table test_date_imports (f String, t Date);
insert into test_date_imports(t) format TSV 2200-01-01
insert into test_date_imports format CSV 'csv',2200-01-01
insert into test_date_imports format JSONEachRow {"f":"JSONEachRow","t":"2200-01-01"}
insert into test_date_imports values ('values','2200-01-01')

SELECT * FROM test_date_imports FORMAT PrettyCompactMonoBlock;

┌─f───────────┬──────────t─┐
│             │ 2149-06-06 │
│ csv         │ 2020-07-27 │<-- it looks like parsing happened via Date32 or DateTime64 path, and then casted with overflow
│ JSONEachRow │ 2149-06-06 │
│ values      │ 2149-06-06 │
└─────────────┴────────────┘

TRUNCATE TABLE test_date_imports;
insert into test_date_imports(t) format TSV 9999-01-01
insert into test_date_imports format CSV 'csv',9999-01-01
insert into test_date_imports format JSONEachRow {"f":"JSONEachRow","t":"9999-01-01"}
insert into test_date_imports values ('values','9999-01-01')

SELECT * FROM test_date_imports FORMAT PrettyCompactMonoBlock

SELECT * FROM test_date_imports FORMAT PrettyCompactMonoBlock
┌─f───────────┬──────────t─┐
│             │ 2149-06-06 │
│ csv         │ 2104-06-06 │
│ JSONEachRow │ 2149-06-06 │
│ values      │ 2149-06-06 │
└─────────────┴────────────┘

4 rows in set. Elapsed: 0.002 sec. 
```

P.S. It's not the edge case found by QA. It's a real-life case from the end-user report. IRL it was the '[end of time](https://softwareengineering.stackexchange.com/questions/164843/is-there-a-constant-for-end-of-time)' date exported by another database as '9999-12-31' which was always stored in ClickHouse as '2149-06-06' but after importing from CSV as '2104-06-06'
{
    return parse<T>(str.data(), str.size());
}
template <typename ReturnType = void>
ReturnType readDateTimeTextFallback(time_t & datetime, ReadBuffer & buf, const DateLUTImpl & date_lut);
/** In YYYY-MM-DD hh:mm:ss or YYYY-MM-DD format, according to specified time zone.
  * As an exception, also supported parsing of unix timestamp in form of decimal number.
  */
template <typename ReturnType = void>
inline ReturnType readDateTimeTextImpl(time_t & datetime, ReadBuffer & buf, const DateLUTImpl & date_lut)
{
    
    const char * s = buf.position();
    
    static constexpr auto date_time_broken_down_length = 19;
    
    static constexpr auto date_broken_down_length = 10;
    bool optimistic_path_for_date_time_input = s + date_time_broken_down_length <= buf.buffer().end();
    if (optimistic_path_for_date_time_input)
    {
        if (s[4] < '0' || s[4] > '9')
        {
            UInt16 year = (s[0] - '0') * 1000 + (s[1] - '0') * 100 + (s[2] - '0') * 10 + (s[3] - '0');
            UInt8 month = (s[5] - '0') * 10 + (s[6] - '0');
            UInt8 day = (s[8] - '0') * 10 + (s[9] - '0');