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:
        Call(CallType call_type_, std::unique_ptr<BaseResponder> responder_, IServer & iserver_, Poco::Logger * log_);
        ~Call();
        void start(const std::function<void(void)> & on_finish_call_callback);
    private:
        void run();
        void receiveQuery();
        void executeQuery();
        void processInput();
        void initializeBlockInputStream(const Block & header);
        void createExternalTables();
        void generateOutput();
        void finishQuery();
        void onException(const Exception & exception);
        void onFatalError();
        void releaseQueryIDAndSessionID();
        void close();
        void readQueryInfo();
        void throwIfFailedToReadQueryInfo();
        bool isQueryCancelled();
        void addProgressToResult();