```
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.
{
    const Settings & settings = context.getSettingsRef();
    const auto & shards_info = cluster->getShardsInfo();
    size_t num_shards = shards_info.size();
    if (!pool)
    {
        
        initWritingJobs(block);
        pool.emplace(remote_jobs_count + local_jobs_count);
        if (!throttler && (settings.max_network_bandwidth || settings.max_network_bytes))
        {
            throttler = std::make_shared<Throttler>(settings.max_network_bandwidth, settings.max_network_bytes,
                                                    "Network bandwidth limit for a query exceeded.");
        }
        watch.restart();
    }
    watch_current_block.restart();
    if (num_shards > 1)
    {
        auto current_selector = createSelector(block);
        
        for (size_t shard_index : ext::range(0, num_shards))