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).
{
        if (!io.pipeline.pushing())
            return;
        bool has_data_to_insert = (insert_query && insert_query->data)
                                  || !query_info.input_data().empty() || query_info.next_query_info();
        if (!has_data_to_insert)
        {
            if (!insert_query)
                throw Exception("Query requires data to insert, but it is not an INSERT query", ErrorCodes::NO_DATA_TO_INSERT);
            else
                throw Exception("No data to insert", ErrorCodes::NO_DATA_TO_INSERT);
        }
        
        
        initializeBlockInputStream(io.pipeline.getHeader());
        PushingPipelineExecutor executor(io.pipeline);
        executor.start();
        Block block;
        while (pipeline_executor->pull(block))
        {
            if (block)
                executor.push(block);
        }
        executor.finish();
    }
    void Call::initializeBlockInputStream(const Block & header)