MCPcopy Create free account
hub / github.com/AfterShip/clickhouse-sql-parser / tryParseAfterClause

Method tryParseAfterClause

parser/parser_alter.go:455–461  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

453}
454
455func (p *Parser) tryParseAfterClause() (*NestedIdentifier, error) {
456 if !p.tryConsumeKeywords(KeywordAfter) {
457 return nil, nil // nolint
458 }
459
460 return p.ParseNestedIdentifier(p.Pos())
461}
462
463// Syntax: ALTER TABLE DROP partitionClause
464func (p *Parser) parseAlterTableDropPartition(pos Pos) (AlterTableClause, error) {

Callers 3

Calls 3

tryConsumeKeywordsMethod · 0.95
ParseNestedIdentifierMethod · 0.95
PosMethod · 0.95

Tested by

no test coverage detected