This commit is contained in:
Alexander Kuzmenkov 2020-11-18 20:44:33 +03:00
parent 1570320e20
commit 7958b739e8

View File

@ -29,7 +29,8 @@ RemoteBlockOutputStream::RemoteBlockOutputStream(Connection & connection_,
modified_client_info.query_kind = ClientInfo::QueryKind::SECONDARY_QUERY; modified_client_info.query_kind = ClientInfo::QueryKind::SECONDARY_QUERY;
if (CurrentThread::isInitialized()) if (CurrentThread::isInitialized())
{ {
modified_client_info.opentelemetry = CurrentThread::get().opentelemetry; modified_client_info.client_trace_context
= CurrentThread::get().thread_trace_context;
} }
/** Send query and receive "header", that describes table structure. /** Send query and receive "header", that describes table structure.