MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / receiveQuery

Method receiveQuery

src/Server/GRPCServer.cpp:863–873  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

861 }
862
863 void Call::receiveQuery()
864 {
865 LOG_INFO(log, "Handling call {}", getCallName(call_type));
866
867 readQueryInfo();
868
869 if (query_info.cancel())
870 throw Exception(ErrorCodes::INVALID_GRPC_QUERY_INFO, "Initial query info cannot set the 'cancel' field");
871
872 LOG_DEBUG(log, "Received initial QueryInfo: {}", getQueryDescription(query_info));
873 }
874
875 void Call::executeQuery()
876 {

Callers

nothing calls this directly

Calls 4

getCallNameFunction · 0.85
getQueryDescriptionFunction · 0.85
ExceptionClass · 0.50
cancelMethod · 0.45

Tested by

no test coverage detected