```
select value % -9223372036854775808 from (select toInt32(arrayJoin([3, 5])) value)
```

Server dies (aborted), no stacktraces, only the subject line in log. Does not reproduce on playground for some reason.
auto it = dir_names.begin();
    
    
    {
        const std::string path(disk + data_path + *it);
        Poco::File(path).createDirectory();
        const std::string tmp_path(path + "/tmp/");
        Poco::File(tmp_path).createDirectory();
        const std::string file_name(toString(storage.file_names_increment.get()) + ".bin");
        first_file_tmp_path = tmp_path + file_name;
        
        {
            WriteBufferFromFile out{first_file_tmp_path};
            CompressedWriteBuffer compress{out};
            NativeBlockOutputStream stream{compress, ClickHouseRevision::get(), block.cloneEmpty()};
            
            
            
            WriteBufferFromOwnString header_buf;
            writeVarUInt(ClickHouseRevision::get(), header_buf);
            writeStringBinary(query_string, header_buf);
            context.getSettingsRef().serialize(header_buf);
            context.getClientInfo().write(header_buf, ClickHouseRevision::get());
            
            
            
            const StringRef header = header_buf.stringRef();
            writeVarUInt(DBMS_DISTRIBUTED_SIGNATURE_HEADER, out);
            writeStringBinary(header, out);
            writePODBinary(CityHash_v1_0_2::CityHash128(header.data, header.size), out);