MCPcopy Create free account
hub / github.com/rilldata/rill / rewriteToSqliteScanFunction

Method rewriteToSqliteScanFunction

runtime/pkg/duckdbsql/ast_rewrite.go:88–95  ·  view source on GitHub ↗
(params []string)

Source from the content-addressed store, hash-verified

86}
87
88func (fn *fromNode) rewriteToSqliteScanFunction(params []string) error {
89 baseTable, err := createSqliteScanTableFunction(params)
90 if err != nil {
91 return err
92 }
93 fn.parent[fn.childKey] = baseTable
94 return nil
95}
96
97func createBaseTable(name string, ast astNode) (astNode, error) {
98 // TODO: validation and fill in other fields from ast

Callers 1

RewriteTableRefsMethod · 0.80

Calls 1

Tested by

no test coverage detected