blob: cd54470b07ce8c7ffcca9116c4ef5341314cbd15 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#pragma once
#include <Storages/System/IStorageSystemOneBlock.h>
namespace DB
{
class Context;
/** System table "time_zones" with list of timezones pulled from /contrib/cctz/testdata/zoneinfo
*/
class StorageSystemTimeZones final : public IStorageSystemOneBlock<StorageSystemTimeZones>
{
public:
void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo & query_info) const override;
using IStorageSystemOneBlock::IStorageSystemOneBlock;
public:
std::string getName() const override { return "SystemTimeZones"; }
static NamesAndTypesList getNamesAndTypes();
};
}
|