2022-03-17 05:51:35 +00:00
|
|
|
#include <Columns/Collator.h>
|
|
|
|
#include <Parsers/ASTInterpolateElement.h>
|
|
|
|
#include <Common/SipHash.h>
|
|
|
|
#include <IO/Operators.h>
|
|
|
|
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
2022-03-18 20:44:27 +00:00
|
|
|
void ASTInterpolateElement::formatImpl(const FormatSettings & settings, FormatState & state, FormatStateStacked frame) const
|
2022-03-17 05:51:35 +00:00
|
|
|
{
|
2022-03-28 23:15:53 +00:00
|
|
|
settings.ostr << column << (settings.hilite ? hilite_keyword : "") << " AS " << (settings.hilite ? hilite_none : "");
|
2022-03-18 20:44:27 +00:00
|
|
|
expr->formatImpl(settings, state, frame);
|
2022-03-17 05:51:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|