Skip to main content

Module derived

Module derived 

Source
Expand description

Output-column inference for derived, LATERAL, and CTE relations.

Functions§

from_relation_names
The names the relations of a FROM clause are referenced by: each table’s alias, else its name, and each derived table’s alias.
infer_subquery_relation
The relation a subquery alias exposes.
open_subquery_relation
A relation whose output shape is not inferable, named alias.
refuse_correlated_derived
The refusal for a derived table without LATERAL that refers to another relation of the same FROM clause.
rename_output_columns
Rename an inferred relation’s columns to an alias column list.