Function eval_copy_to_uri

Source
pub fn eval_copy_to_uri(
    to: HirScalarExpr,
    session: &Session,
    catalog_state: &CatalogState,
) -> Result<Uri, AdapterError>
Expand description

Evaluates a COPY TO target URI expression and validates it.

This function is shared between the old peek sequencing (sequence_copy_to) and the new frontend peek sequencing to avoid code duplication.