MCPcopy
hub / github.com/pathwaycom/pathway / _column

Function _column

python/pathway/internals/sql/processing.py:158–164  ·  view source on GitHub ↗
(node: sql_expr.Column, context: ContextType)

Source from the content-addressed store, hash-verified

156
157@register(nodetype=sql_expr.Column)
158def _column(node: sql_expr.Column, context: ContextType) -> expr.ColumnReference:
159 tab = node.table
160 colname = _identifier(node.this, context)
161 if tab == "":
162 return thisclass.this[colname]
163 else:
164 return context[tab][colname]
165
166
167@register(nodetype=sql_expr.With)

Callers

nothing calls this directly

Calls 1

_identifierFunction · 0.85

Tested by

no test coverage detected