MCPcopy Create free account
hub / github.com/bytebase/bytebase / Node

Method Node

backend/plugin/parser/doris/doris.go:31–33  ·  view source on GitHub ↗

Node returns the underlying omni AST node. May be nil if the segment failed to parse cleanly but errors were tolerated by the caller.

()

Source from the content-addressed store, hash-verified

29// Node returns the underlying omni AST node. May be nil if the segment
30// failed to parse cleanly but errors were tolerated by the caller.
31func (a *omniAST) Node() ast.Node {
32 return a.node
33}
34
35// parseDorisStatements is the ParseStatementsFunc for Doris.
36// Returns []ParsedStatement with both text and AST populated.

Callers 2

validateQueryFunction · 0.45
TestDorisSQLParserFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestDorisSQLParserFunction · 0.36