mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
Added method createColumn for DataTypeSet
This commit is contained in:
parent
5778e59f38
commit
7ba06ccb82
@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <DataTypes/IDataTypeDummy.h>
|
||||
#include <Columns/ColumnSet.h>
|
||||
|
||||
|
||||
namespace DB
|
||||
@ -18,6 +19,9 @@ public:
|
||||
bool equals(const IDataType & rhs) const override { return typeid(rhs) == typeid(*this); }
|
||||
bool isParametric() const override { return true; }
|
||||
|
||||
// Used for expressions analysis.
|
||||
MutableColumnPtr createColumn() const override { return ColumnSet::create(0, nullptr); }
|
||||
|
||||
// Used only for debugging, making it DUMPABLE
|
||||
Field getDefault() const override { return Tuple(); }
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user