(name string, paths []string, props map[string]any)
| 16 | } |
| 17 | |
| 18 | func (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 | |
| 27 | func (sn *selectNode) rewriteLimit(limit int) error { |
| 28 | // If this is a CTE_NODE, traverse down to find the final SELECT/SET_OPERATION node |
no test coverage detected