OVERLAPS
Translation reference to convert the Teradata operator OVERLAPS to Snowflake Scripting.
Description
According to Teradata's documentation, the OVERLAPS operator compares two or more period expressions. If they overlap, it returns true.
For more information regarding Teradata's OVERLAPS, check here.
The PERIOD_OVERLAPS_UDF is a Snowflake implementation of the OVERLAPS operator in Teradata.
Sample Source Pattern
Teradata
IN -> Teradata_01.sql
Snowflake Scripting
OUT -> Teradata_01.sql
Known Issues
1. Unsupported Period Expressions
The PERIOD(TIME WITH TIME ZONE) and PERIOD(TIMESTAMP WITH TIME ZONE) expressions are not supported yet.
Related EWIs
SSC-EWI-TD0053: Snowflake does not support the period datatype, all periods are handled as varchar instead
Last updated