mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 19:42:00 +00:00
4930683aa8
This reverts commit 2958c5f0f1
.
26 lines
590 B
C++
26 lines
590 B
C++
#pragma once
|
|
|
|
#include <Parsers/IAST.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/** SELECT * is expanded to all visible columns of the source table.
|
|
* Optional transformers can be attached to further manipulate these expanded columns.
|
|
*/
|
|
class ASTAsterisk : public IAST
|
|
{
|
|
public:
|
|
String getID(char) const override { return "Asterisk"; }
|
|
ASTPtr clone() const override;
|
|
void appendColumnName(WriteBuffer & ostr) const override;
|
|
|
|
ASTPtr expression;
|
|
ASTPtr transformers;
|
|
protected:
|
|
void formatImpl(const FormatSettings & settings, FormatState &, FormatStateStacked) const override;
|
|
};
|
|
|
|
}
|