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

Method getSampleBlock

src/Interpreters/InternalTextLogsQueue.cpp:40–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39
40Block InternalTextLogsQueue::getSampleBlock()
41{
42 return Block {
43 {std::make_shared<DataTypeDateTime>(), "event_time"},
44 {std::make_shared<DataTypeUInt32>(), "event_time_microseconds"},
45 {std::make_shared<DataTypeString>(), "host_name"},
46 {std::make_shared<DataTypeString>(), "query_id"},
47 {std::make_shared<DataTypeUInt64>(), "thread_id"},
48 {std::make_shared<DataTypeInt8>(), "priority"},
49 {std::make_shared<DataTypeString>(), "source"},
50 {std::make_shared<DataTypeString>(), "text"}
51 };
52}
53
54MutableColumns InternalTextLogsQueue::getSampleColumns()
55{

Callers 15

makeTableJoinMethod · 0.45
executeQueryImplFunction · 0.45
addTypeConversionToASTFunction · 0.45
sendQueryMethod · 0.45
setPropertiesMethod · 0.45
visitMethod · 0.45
prepareMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected