MSCEWI2054

Teradata Database Temporal Table is not supported in Snowflake

Severity

Medium

Description

The Teradata Database Temporal Support involves the creation of temporal tables and temporal DDL and DML objects. The support for temporal (time-aware) tables and data are not supported in Snowflake since there is not an absolute equivalent.

All these statements are recognized (parsed) by SnowConvert, but in order to execute the queries in Snowflake, these elements are removed in the translation process.

Example code

The following example shows a Temporal-form Select being translated to a usual Select.

Input code:

SEQUENCED VALIDTIME  
   SELECT
   Policy_ID,
   Customer_ID
   FROM Policy
      WHERE Policy_Type = 'AU';

Output code:

-- ** MSC-WARNING - MSCEWI2054 - TEMPORAL FORMS ARE NOT SUPPORTED IN SNOWFLAKE**
--SEQUENCED VALIDTIME
SELECT
Policy_ID,
Customer_ID
FROM PUBLIC.Policy
  WHERE Policy_Type = 'AU';

Recommendations