**Use case**

ClickHouse already throws exception if the data for INSERT is empty:

```
Code: 108. DB::Exception: No data to insert
```

Let's introduce a setting, enabled by default, to control this behavior.
The user will be able to disable it to allow empty INSERTs.

This is useful in some batch scripts.
{
        io.onException();
        LOG_ERROR(log, fmt::runtime(getExceptionMessage(exception, true)));
        if (responder && !responder_finished)
        {
            try
            {
                
                addLogsToResult();
            }
            catch (...)
            {
                LOG_WARNING(log, "Couldn't send logs to client");
            }
            releaseQueryIDAndSessionID();
            try
            {
                sendException(exception);
            }
            catch (...)
            {
                LOG_WARNING(log, "Couldn't send exception information to the client");
            }
        }
        close();
    }
    void Call::onFatalError()