Skip to main content

rename_output_columns

Function rename_output_columns 

Source
pub fn rename_output_columns(
    info: CollectionInfo,
    names: &[String],
) -> CollectionInfo
Expand description

Rename an inferred relation’s columns to an alias column list.

WITH c(a, b) AS (...) and FROM (...) AS t(a, b) name the output positionally. The declared names replace the inferred ones; a type the inferred column carried survives at the same position.