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

Method getSampleBlock

src/Interpreters/InternalTextLogsQueue.cpp:19–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18
19Block InternalTextLogsQueue::getSampleBlock()
20{
21 return Block {
22 {std::make_shared<DataTypeDateTime>(), "event_time"},
23 {std::make_shared<DataTypeUInt32>(), "event_time_microseconds"},
24 {std::make_shared<DataTypeString>(), "host_name"},
25 {std::make_shared<DataTypeString>(), "query_id"},
26 {std::make_shared<DataTypeUInt64>(), "thread_id"},
27 {std::make_shared<DataTypeInt8>(), "priority"},
28 {std::make_shared<DataTypeString>(), "source"},
29 {std::make_shared<DataTypeString>(), "text"}
30 };
31}
32
33MutableColumns InternalTextLogsQueue::getSampleColumns()
34{

Callers 15

processMethod · 0.45
debugPathMethod · 0.45
observePathMethod · 0.45
buildJoinedPlanFunction · 0.45
makeFakeTableMethod · 0.45
executeQueryImplFunction · 0.45
joinBlockMethod · 0.45
shardContainsFunction · 0.45
addTypeConversionToASTFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected