(
node: sql_expr.Table, context: ContextType
)
| 317 | |
| 318 | @register(nodetype=sql_expr.Table) |
| 319 | def _table( |
| 320 | node: sql_expr.Table, context: ContextType |
| 321 | ) -> tuple[table.Joinable, ContextType]: |
| 322 | name = _identifier(node.args.pop("this"), context) |
| 323 | tab = context[name] |
| 324 | tab, context = _alias_block(node, tab, context) |
| 325 | joined_tab, context = _joins_block(node, tab, context) |
| 326 | |
| 327 | if node.args.pop("pivots", []) != []: |
| 328 | raise NotImplementedError("PIVOTS not supported") |
| 329 | _check_work_done(node) |
| 330 | return joined_tab, context |
| 331 | |
| 332 | |
| 333 | @register(nodetype=sql_expr.Union) |
nothing calls this directly
no test coverage detected