aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Client/ClientBaseHelpers.h
blob: c22835a96512acc7f595b2dc8ae5a0e35c070708 (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
#pragma once

#include <Core/Types.h>
#include "clickhouse_config.h"

#if USE_REPLXX
#   include <Client/ReplxxLineReader.h>
#endif


namespace DB
{

/// Should we celebrate a bit?
bool isNewYearMode();

bool isChineseNewYearMode(const String & local_tz);

#if USE_REPLXX
void highlight(const String & query, std::vector<replxx::Replxx::Color> & colors);
#endif

}