blob: 2dcf481adb79607677f92928a94524222f1cbb8f (
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
|
#include <Parsers/ASTQualifiedAsterisk.h>
#include <IO/WriteHelpers.h>
#include <IO/Operators.h>
namespace DB
{
void ASTQualifiedAsterisk::appendColumnName(WriteBuffer & ostr) const
{
qualifier->appendColumnName(ostr);
writeCString(".*", ostr);
}
void ASTQualifiedAsterisk::formatImpl(const FormatSettings & settings, FormatState & state, FormatStateStacked frame) const
{
qualifier->formatImpl(settings, state, frame);
settings.ostr << ".*";
if (transformers)
{
transformers->formatImpl(settings, state, frame);
}
}
}
|