pub fn cast_subquery_columns(
subquery: Subquery,
cast_to_types: &[DataType],
) -> Result<Subquery>Expand description
Cast the leading columns of a subquery to the given types, one per column,
like cast_subquery does for its first column. The result keeps only
the cast_to_types.len() leading columns.
Used by a multi-column (a, b) IN (SELECT x, y ...), whose tuple elements
are coerced column by column.