Hi! We have replication mysql to clickhouse configured with materialized-mysql driver.

sometimes strange behavior happens 

and in the clickhouse there are values that are not in this mysql database

for example: 

mysql revenue value is 0.292, but in clickhouse - 2147483648.292

mysql table ddl:
```
CREATE TABLE `adsense` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `date` date NOT NULL,
  `sub1` varchar(40) DEFAULT NULL,
  `sub2` varchar(255) DEFAULT NULL,
  `lead_id` int DEFAULT NULL,
  `revenue` decimal(10,3) unsigned NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_adsense_sub1` (`sub1`),
  KEY `idx_adsense_lead_id` (`lead_id`),
  KEY `adsense_sub2_index` (`sub2`),
  KEY `adsense_date_index` (`date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
```

clickhouse table ddl:
```
create table adsense
(
    id              UInt64,
    date            Date,
    sub1            Nullable(String),
    sub2            Nullable(String),
    lead_id         Nullable(Int32),
    clicks          Int32,
    revenue         Decimal(10, 3),
    created_at      DateTime,
    _sign           Int8 materialized 1,
    _version        UInt64 materialized 1
)
    engine = MaterializeMySQL(_version)
        PARTITION BY intDiv(id, 18446744073709551)
        ORDER BY (date, assumeNotNull(sub2), assumeNotNull(sub1),
                  assumeNotNull(lead_id), id)
        SETTINGS index_granularity = 8192;
```


{
        WriteBufferFromOwnString ws;
        writeUUIDText(gtid.uuid, ws);
        auto gtid_next = ws.str() + ":" + std::to_string(gtid.seq_no);
        header.dump(out);
        out << "GTID Next: " << gtid_next << '\n';
    }
    void DryRunEvent::parseImpl(ReadBuffer & payload) { payload.ignoreAll(); }
    void DryRunEvent::dump(WriteBuffer & out) const
    {
        header.dump(out);
        out << "[DryRun Event]" << '\n';
    }
    
    void Position::update(BinlogEventPtr event)
    {
        switch (event->header.type)
        {
            case FORMAT_DESCRIPTION_EVENT: {
                binlog_pos = event->header.log_pos;
                break;
            }
            case QUERY_EVENT: {
                auto query = std::static_pointer_cast<QueryEvent>(event);
                if (query->transaction_complete && pending_gtid)
                {
                    gtid_sets.update(*pending_gtid);
                    pending_gtid.reset();
                }
                binlog_pos = event->header.log_pos;