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

Method rewriteToReadTableFunction

runtime/pkg/duckdbsql/ast_rewrite.go:18–25  ·  view source on GitHub ↗
(name string, paths []string, props map[string]any)

Source from the content-addressed store, hash-verified

16}
17
18func (fn *fromNode) rewriteToReadTableFunction(name string, paths []string, props map[string]any) error {
19 baseTable, err := createTableFunction(name, paths, props, fn.ast)
20 if err != nil {
21 return err
22 }
23 fn.parent[fn.childKey] = baseTable
24 return nil
25}
26
27func (sn *selectNode) rewriteLimit(limit int) error {
28 // If this is a CTE_NODE, traverse down to find the final SELECT/SET_OPERATION node

Callers 1

RewriteTableRefsMethod · 0.80

Calls 1

createTableFunctionFunction · 0.85

Tested by

no test coverage detected