MCPcopy Index your code
hub / github.com/pathwaycom/pathway / _table

Function _table

python/pathway/internals/sql/processing.py:319–330  ·  view source on GitHub ↗
(
    node: sql_expr.Table, context: ContextType
)

Source from the content-addressed store, hash-verified

317
318@register(nodetype=sql_expr.Table)
319def _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)

Callers

nothing calls this directly

Calls 4

_identifierFunction · 0.85
_alias_blockFunction · 0.85
_joins_blockFunction · 0.85
_check_work_doneFunction · 0.85

Tested by

no test coverage detected