Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
kitaisreal committed Jan 25, 2024
1 parent 8e0dbdc commit bfbeb08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Interpreters/MemoryDumpLog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
namespace DB
{

NamesAndTypesList MemoryDumpLogElement::getNamesAndTypes()
ColumnsDescription MemoryDumpLogElement::getColumnsDescription()
{
return
return ColumnsDescription
{
{"hostname", std::make_shared<DataTypeLowCardinality>(std::make_shared<DataTypeString>())},
{"event_date", std::make_shared<DataTypeDate>()},
Expand Down
4 changes: 2 additions & 2 deletions src/Interpreters/MemoryDumpLog.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <Core/Field.h>
#include <Core/NamesAndTypes.h>
#include <Core/NamesAndAliases.h>

#include <Storages/ColumnsDescription.h>

namespace DB
{
Expand All @@ -21,7 +21,7 @@ struct MemoryDumpLogElement
UInt64 ptr{};

static std::string name() { return "MemoryDumpLog"; }
static NamesAndTypesList getNamesAndTypes();
static ColumnsDescription getColumnsDescription();
static NamesAndAliases getNamesAndAliases() { return {}; }
void appendToBlock(MutableColumns & columns) const;
static const char * getCustomColumnList() { return nullptr; }
Expand Down

0 comments on commit bfbeb08

Please sign in to comment.