MCPcopy Index your code
hub / github.com/rilldata/rill / defaultOLAPConnector

Method defaultOLAPConnector

runtime/parser/parser.go:1081–1086  ·  view source on GitHub ↗

defaultOLAPConnector resolves the project's default OLAP connector. It should not be invoked until after rill.yaml has been parsed.

()

Source from the content-addressed store, hash-verified

1079// defaultOLAPConnector resolves the project's default OLAP connector.
1080// It should not be invoked until after rill.yaml has been parsed.
1081func (p *Parser) defaultOLAPConnector() string {
1082 if p.RillYAML != nil && p.RillYAML.OLAPConnector != "" {
1083 return p.RillYAML.OLAPConnector
1084 }
1085 return p.DefaultOLAPConnector
1086}
1087
1088// isDev returns true if the parser's instance's environment is "dev".
1089// Usually this means it's running on localhost with "rill start".

Callers 3

parseModelMethod · 0.95
parseStemMethod · 0.95
parseSourceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected