mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
fix comments
This commit is contained in:
parent
8152bc40d5
commit
bc0e4facc8
@ -171,7 +171,7 @@ bool ParserIndexDeclarationList::parseImpl(Pos & pos, ASTPtr & node, Expected &
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool ParserColumnsOrIndicesDeclaration::parseImpl(Pos & pos, ASTPtr & node, Expected & expected)
|
bool ParserColumnsOrIndicesDeclarationList::parseImpl(Pos & pos, ASTPtr & node, Expected & expected)
|
||||||
{
|
{
|
||||||
ASTPtr list;
|
ASTPtr list;
|
||||||
if (!ParserList(std::make_unique<ParserColumnAndIndexDeclaraion>(), std::make_unique<ParserToken>(TokenType::Comma), false)
|
if (!ParserList(std::make_unique<ParserColumnAndIndexDeclaraion>(), std::make_unique<ParserToken>(TokenType::Comma), false)
|
||||||
|
@ -248,17 +248,16 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
class ParserColumnsOrIndicesDeclaration : public IParserBase
|
class ParserColumnsOrIndicesDeclarationList : public IParserBase
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
const char * getName() const override { return "columns or indices declaration"; }
|
const char * getName() const override { return "columns or indices declaration list"; }
|
||||||
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
|
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ENGINE = name [PARTITION BY expr] [ORDER BY expr] [PRIMARY KEY expr] [SAMPLE BY expr]
|
* ENGINE = name [PARTITION BY expr] [ORDER BY expr] [PRIMARY KEY expr] [SAMPLE BY expr] [SETTINGS name = value, ...]
|
||||||
* [INDEXES name BY expr TYPE type(args) GRANULARITY value, ...] [SETTINGS name = value, ...]
|
|
||||||
*/
|
*/
|
||||||
class ParserStorage : public IParserBase
|
class ParserStorage : public IParserBase
|
||||||
{
|
{
|
||||||
@ -274,6 +273,8 @@ protected:
|
|||||||
* name1 type1,
|
* name1 type1,
|
||||||
* name2 type2,
|
* name2 type2,
|
||||||
* ...
|
* ...
|
||||||
|
* INDEX name1 expr TYPE type1(args) GRANULARITY value,
|
||||||
|
* ...
|
||||||
* ) ENGINE = engine
|
* ) ENGINE = engine
|
||||||
*
|
*
|
||||||
* Or:
|
* Or:
|
||||||
|
Loading…
Reference in New Issue
Block a user