Hi @vitlibar,
In http implementation, ClickHouse will return format of query result in header `X-ClickHouse-Format`. Can we return format in gRPC response as well? This helps client like JDBC driver for deserialization(without the need for parsing the query).
{
    public:
        explicit BoolState(bool initial_value) : value(initial_value) {}
        bool get() const
        {
            std::lock_guard lock{mutex};
            return value;
        }
        void set(bool new_value)
        {
            std::lock_guard lock{mutex};
            if (value == new_value)
                return;
            value = new_value;
            changed.notify_all();
        }
        void wait(bool wanted_value) const
        {
            std::unique_lock lock{mutex};
            changed.wait(lock, [this, wanted_value]() { return value == wanted_value; });
        }
    private:
        bool value;
        mutable std::mutex mutex;
        mutable std::condition_variable changed;
    };
    
    class Call