SPRKHVSQL1006

The element is not mapped yet

Message: The element < Element Name > is not mapped yet.

Category: Conversion Error.

Description

The EWI appears when the tool detects an element that is not yet in the mappings table.

Scenario

Input

Below is an example of an element that is not yet in the mappings table.

create external table if not exists table12
(
product                 string,
date_ac                string,
asofdate                 int
)
partitioned by (asofdate int)
;

Output

The SMA adds the EWI SPRKSPSQL1006 to the output code to let you know that the element that is not yet in the mapping table.

Recommended fix

Since the element is not yet mapped, you should search for a corresponding feature or syntax in Snowflake and adjust the SQL code accordingly.

Additional recommendations

Last updated