mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
Some fixups, pt. III
This commit is contained in:
parent
b1d3eb4c4d
commit
4fdcdc284d
@ -10,7 +10,6 @@ class DataTypeDate final : public DataTypeNumberBase<UInt16>
|
||||
{
|
||||
public:
|
||||
static constexpr auto family_name = "Date";
|
||||
static constexpr auto type_id = TypeIndex::Date;
|
||||
|
||||
TypeIndex getTypeId() const override { return TypeIndex::Date; }
|
||||
TypeIndex getColumnType() const override { return TypeIndex::UInt16; }
|
||||
|
@ -9,7 +9,6 @@ class DataTypeDate32 final : public DataTypeNumberBase<Int32>
|
||||
{
|
||||
public:
|
||||
static constexpr auto family_name = "Date32";
|
||||
static constexpr auto type_id = TypeIndex::Date32;
|
||||
|
||||
TypeIndex getTypeId() const override { return TypeIndex::Date32; }
|
||||
TypeIndex getColumnType() const override { return TypeIndex::Int32; }
|
||||
|
@ -36,7 +36,6 @@ public:
|
||||
explicit DataTypeDateTime(const TimezoneMixin & time_zone);
|
||||
|
||||
static constexpr auto family_name = "DateTime";
|
||||
static constexpr auto type_id = TypeIndex::DateTime;
|
||||
|
||||
const char * getFamilyName() const override { return family_name; }
|
||||
String doGetName() const override;
|
||||
|
Loading…
Reference in New Issue
Block a user