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

Method tryParseWindowFrameClause

parser/parser_query.go:648–653  ·  view source on GitHub ↗
(pos Pos)

Source from the content-addressed store, hash-verified

646}
647
648func (p *Parser) tryParseWindowFrameClause(pos Pos) (*WindowFrameClause, error) {
649 if !p.matchKeyword(KeywordRows) && !p.matchKeyword(KeywordRange) {
650 return nil, nil
651 }
652 return p.parseWindowFrameClause(pos)
653}
654
655func (p *Parser) parseWindowFrameClause(pos Pos) (*WindowFrameClause, error) {
656 var windowFrameType string

Callers 1

parseWindowConditionMethod · 0.95

Calls 2

matchKeywordMethod · 0.95

Tested by

no test coverage detected