blob: 6d56a2b219fca307f4edb2b067092fb04be3c1bd (
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
26
27
28
29
30
31
32
|
#include <Parsers/SelectUnionMode.h>
namespace DB
{
const char * toString(SelectUnionMode mode)
{
switch (mode)
{
case SelectUnionMode::UNION_DEFAULT:
return "UNION_DEFAULT";
case SelectUnionMode::UNION_ALL:
return "UNION_ALL";
case SelectUnionMode::UNION_DISTINCT:
return "UNION_DISTINCT";
case SelectUnionMode::EXCEPT_DEFAULT:
return "EXCEPT_DEFAULT";
case SelectUnionMode::EXCEPT_ALL:
return "EXCEPT_ALL";
case SelectUnionMode::EXCEPT_DISTINCT:
return "EXCEPT_DISTINCT";
case SelectUnionMode::INTERSECT_DEFAULT:
return "INTERSECT_DEFAULT";
case SelectUnionMode::INTERSECT_ALL:
return "INTERSECT_ALL";
case SelectUnionMode::INTERSECT_DISTINCT:
return "INTERSECT_DEFAULT";
}
}
}
|