mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
26 lines
560 B
C++
26 lines
560 B
C++
#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);
|
|
}
|
|
}
|
|
|
|
}
|