
**How to reproduce**
New parser, master.
``` sql
 SELECT '', dictGetDateTime(), [];
```
**Error message and/or stacktrace**
```
2021.01.17 04:10:25.835082 [ 215747 ] {da14e041-9f8e-4357-9fa0-3620686e9ff3} <Debug> executeQuery: (from [::1]:43326, using new parser) SELECT '', dictGetDateTime(), [];

2021.01.17 04:10:25.836600 [ 156 ] {} <Trace> BaseDaemon: Received signal 11
2021.01.17 04:10:25.837021 [ 215913 ] {} <Fatal> BaseDaemon: ########################################
2021.01.17 04:10:25.837302 [ 215913 ] {} <Fatal> BaseDaemon: (version 20.13.1.5706 (official build), build id: A0EC6D4DFA04532D) (from thread 215747) (query_id: da14e041-9f8e-435
7-9fa0-3620686e9ff3) Received signal Segmentation fault (11)
2021.01.17 04:10:25.837504 [ 215913 ] {} <Fatal> BaseDaemon: Address: 0x18 Access: read. Address not mapped to object.
2021.01.17 04:10:25.837686 [ 215913 ] {} <Fatal> BaseDaemon: Stack trace: 0x11a72c4c 0x1b242873 0x1b2426d1 0x1b200749 0x1b2089c6 0x1b200837 0x1b2089c6 0x1b200837 0x1b1f94fc 0x1b1
f8289 0x1ad233d4 0x1ad21cf2
2021.01.17 04:10:25.838838 [ 215913 ] {} <Fatal> BaseDaemon: 4. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/vector:662: std::__1::vector<std::__1::shared_ptr<DB::IAST>, std:
:__1::allocator<std::__1::shared_ptr<DB::IAST> > >::empty() const @ 0x11a72c4c in /usr/bin/clickhouse
2021.01.17 04:10:25.879334 [ 215913 ] {} <Fatal> BaseDaemon: 5. ./obj-x86_64-linux-gnu/../src/Interpreters/MarkTableIdentifiersVisitor.cpp:50: DB::MarkTableIdentifiersMatcher::vi
sit(DB::ASTFunction const&, std::__1::shared_ptr<DB::IAST>&, DB::MarkTableIdentifiersMatcher::Data&) @ 0x1b242873 in /usr/bin/clickhouse
2021.01.17 04:10:25.920323 [ 215913 ] {} <Fatal> BaseDaemon: 6. ./obj-x86_64-linux-gnu/../src/Interpreters/MarkTableIdentifiersVisitor.cpp:24: DB::MarkTableIdentifiersMatcher::visit(std::__1::shared_ptr<DB::IAST>&, DB::MarkTableIdentifiersMatcher::Data&) @ 0x1b2426d1 in /usr/bin/clickhouse
2021.01.17 04:10:25.961312 [ 215913 ] {} <Fatal> BaseDaemon: 7. ./obj-x86_64-linux-gnu/../src/Interpreters/InDepthNodeVisitor.h:34: DB::InDepthNodeVisitor<DB::MarkTableIdentifiersMatcher, true, std::__1::shared_ptr<DB::IAST> >::visit(std::__1::shared_ptr<DB::IAST>&) @ 0x1b200749 in /usr/bin/clickhouse
2021.01.17 04:10:26.004866 [ 215913 ] {} <Fatal> BaseDaemon: 8. ./obj-x86_64-linux-gnu/../src/Interpreters/InDepthNodeVisitor.h:53: DB::InDepthNodeVisitor<DB::MarkTableIdentifiersMatcher, true, std::__1::shared_ptr<DB::IAST> >::visitChildren(std::__1::shared_ptr<DB::IAST>&) @ 0x1b2089c6 in /usr/bin/clickhouse
2021.01.17 04:10:26.045333 [ 215913 ] {} <Fatal> BaseDaemon: 9. ./obj-x86_64-linux-gnu/../src/Interpreters/InDepthNodeVisitor.h:43: DB::InDepthNodeVisitor<DB::MarkTableIdentifiersMatcher, true, std::__1::shared_ptr<DB::IAST> >::visit(std::__1::shared_ptr<DB::IAST>&) @ 0x1b200837 in /usr/bin/clickhouse
2021.01.17 04:10:26.088073 [ 215913 ] {} <Fatal> BaseDaemon: 10. ./obj-x86_64-linux-gnu/../src/Interpreters/InDepthNodeVisitor.h:53: DB::InDepthNodeVisitor<DB::MarkTableIdentifiersMatcher, true, std::__1::shared_ptr<DB::IAST> >::visitChildren(std::__1::shared_ptr<DB::IAST>&) @ 0x1b2089c6 in /usr/bin/clickhouse
2021.01.17 04:10:26.128586 [ 215913 ] {} <Fatal> BaseDaemon: 11. ./obj-x86_64-linux-gnu/../src/Interpreters/InDepthNodeVisitor.h:43: DB::InDepthNodeVisitor<DB::MarkTableIdentifiersMatcher, true, std::__1::shared_ptr<DB::IAST> >::visit(std::__1::shared_ptr<DB::IAST>&) @ 0x1b200837 in /usr/bin/clickhouse
2021.01.17 04:10:26.168924 [ 215913 ] {} <Fatal> BaseDaemon: 12. ./obj-x86_64-linux-gnu/../src/Interpreters/TreeRewriter.cpp:893: DB::TreeRewriter::normalize(std::__1::shared_ptr<DB::IAST>&, std::__1::unordered_map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::shared_ptr<DB::IAST>, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::shared_ptr<DB::IAST> > > >&, DB::Settings const&) @ 0x1b1f94fc in /usr/bin/clickhouse
2021.01.17 04:10:26.208863 [ 215913 ] {} <Fatal> BaseDaemon: 13. ./obj-x86_64-linux-gnu/../src/Interpreters/TreeRewriter.cpp:784: DB::TreeRewriter::analyzeSelect(std::__1::shared_ptr<DB::IAST>&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::__1::vector<DB::TableWithColumnNamesAndTypes, std::__1::allocator<DB::TableWithColumnNamesAndTypes> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::shared_ptr<DB::TableJoin>) const @ 0x1b1f8289 in /usr/bin/clickhouse
2021.01.17 04:10:26.232651 [ 209007 ] {} <Trace> system.query_log (0c80310b-54bb-4516-99e5-46674ea7435b): Found 7 old parts to remove.
2021.01.17 04:10:26.232777 [ 209007 ] {} <Debug> system.query_log (0c80310b-54bb-4516-99e5-46674ea7435b): Removing part from filesystem 202101_661_807_48
2021.01.17 04:10:26.239127 [ 209007 ] {} <Debug> system.query_log (0c80310b-54bb-4516-99e5-46674ea7435b): Removing part from filesystem 202101_808_808_0
2021.01.17 04:10:26.239773 [ 209007 ] {} <Debug> system.query_log (0c80310b-54bb-4516-99e5-46674ea7435b): Removing part from filesystem 202101_809_809_0
2021.01.17 04:10:26.240333 [ 209007 ] {} <Debug> system.query_log (0c80310b-54bb-4516-99e5-46674ea7435b): Removing part from filesystem 202101_810_810_0
2021.01.17 04:10:26.240886 [ 209007 ] {} <Debug> system.query_log (0c80310b-54bb-4516-99e5-46674ea7435b): Removing part from filesystem 202101_811_811_0
2021.01.17 04:10:26.241428 [ 209007 ] {} <Debug> system.query_log (0c80310b-54bb-4516-99e5-46674ea7435b): Removing part from filesystem 202101_812_812_0
2021.01.17 04:10:26.242004 [ 209007 ] {} <Debug> system.query_log (0c80310b-54bb-4516-99e5-46674ea7435b): Removing part from filesystem 202101_813_813_0
2021.01.17 04:10:26.247564 [ 215913 ] {} <Fatal> BaseDaemon: 14. ./obj-x86_64-linux-gnu/../src/Interpreters/InterpreterSelectQuery.cpp:368: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::__1::shared_ptr<DB::IAST> const&, DB::Context const&, std::__1::shared_ptr<DB::IBlockInputStream> const&, std::__1::optional<DB::Pipe>, std::__1::shared_ptr<DB::IStorage> const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::shared_ptr<DB::StorageInMemoryMetadata const> const&)::$_2::operator()(bool) const @ 0x1ad233d4 in /usr/bin/clickhouse
2021.01.17 04:10:26.285962 [ 215913 ] {} <Fatal> BaseDaemon: 15. ./obj-x86_64-linux-gnu/../src/Interpreters/InterpreterSelectQuery.cpp:459: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::__1::shared_ptr<DB::IAST> const&, DB::Context const&, std::__1::shared_ptr<DB::IBlockInputStream> const&, std::__1::optional<DB::Pipe>, std::__1::shared_ptr<DB::IStorage> const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::shared_ptr<DB::StorageInMemoryMetadata const> const&) @ 0x1ad21cf2 in /usr/bin/clickhouse
```

break;
        }
        default:
        {
            event = std::make_shared<DB::MySQLReplication::DryRunEvent>(std::move(header));
            event->parseEvent(*event_payload);
            break;
        }
    }
    return event;
}
static int checkBinLogFile(const std::string & bin_path, bool exist_checksum)
{
    DB::ReadBufferFromFile in(bin_path);
    DB::assertString("\xfe\x62\x69\x6e", in);   
    DB::MySQLReplication::BinlogEventPtr last_event;
    std::shared_ptr<DB::MySQLReplication::EventHeader> last_header;
    std::shared_ptr<DB::MySQLReplication::TableMapEvent> table_map;
    try
    {
        while (!in.eof())
        {
            last_header = std::make_shared<DB::MySQLReplication::EventHeader>();
            last_header->parse(in);
            last_event = parseSingleEventBody(*last_header, in, table_map, exist_checksum);
        }
    }
    catch (...)
    {
        DB::WriteBufferFromOStream cerr(std::cerr);