FROM_ISO8601_DATE

Parses the ISO 8601 formatted string into a date

Syntax

FROM_ISO8601_DATE(value)

Arguments

Returns

date

Examples

Transformation job example

SQL

CREATE JOB function_operator_example
    ADD_MISSING_COLUMNS = true
    AS INSERT INTO default_glue_catalog.upsolver_samples.orders_transformed_data MAP_COLUMNS_BY_NAME
    SELECT value,
        FROM_ISO8601_DATE(value) AS Output
    FROM default_glue_catalog.upsolver_samples.orders_raw_data
    LET value = '2006-04-06'
    WHERE time_filter()
    LIMIT 1;

Query result

Last updated