Skip to main content
Skip table of contents

target_entity_attribute_list_with_transform_cast_parquet

Target database: Snowflake

Resolves as full target entity attribute list having the transformations based on the first SOURCE entity mapping. One-to-one mappings without transformation formula will be translated as single-level parquet column references with datatype in select context.


See also:


Usage

VARIABLE
<target_entity_attribute_list_with_transform_cast_parquet>

Notes

Supported in all loads.


Examples

Variable used in an OVERRIDE load step

Given mapping:

Target entity: publish.F_RATECODE

Source entity: src.SOURCE

source attributes

Formula

Target attribute

attribute_A

attribute_A

attribute_B

attribute_B

attribute_C

attribute_C

OVERRIDE load step in F_RATECODE entity:

SQL
INSERT INTO <target_schema>.<target_entity_name>
SELECT <target_entity_attribute_list_with_transform_cast_parquet>
FROM <source_entity_schema>.<source_entity_name>;

Load executed in the target database Snowflake:

SQL
INSERT INTO publish.F_RATECODE
SELECT $1::attribute_A::VARCHAR(50)
, $1::attribute_B::VARCHAR(50)
, $1::attribute_C::VARCHAR(50)
FROM src.SOURCE;

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.