diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-08-10 16:17:15 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-08-10 16:17:15 +0700 |
| commit | c1431664f24b1f199c138cca7cbc303dd23c8704 (patch) | |
| tree | 22f4ac75e1e5b6d258f671f0b4a718af54b37e6b /import_product_product.ktr | |
| parent | 257d3e45888dc3e3a760d6bb088ad8ca3d0fc4f0 (diff) | |
add sql script for refresh mv growth sales
Diffstat (limited to 'import_product_product.ktr')
| -rw-r--r-- | import_product_product.ktr | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/import_product_product.ktr b/import_product_product.ktr index 4e7f9c0..c2e94e5 100644 --- a/import_product_product.ktr +++ b/import_product_product.ktr @@ -543,6 +543,11 @@ <to>Insert / update</to> <enabled>Y</enabled> </hop> + <hop> + <from>Insert / update</from> + <to>Execute SQL script</to> + <enabled>Y</enabled> + </hop> </order> <step> <name>Insert / update</name> @@ -907,6 +912,44 @@ where pp.write_date >= (now() - '5 days'::interval)</sql> <draw>Y</draw> </GUI> </step> + <step> + <name>Execute SQL script</name> + <type>ExecSQL</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <execute_each_row>N</execute_each_row> + <single_statement>N</single_statement> + <replace_variables>N</replace_variables> + <quoteString>N</quoteString> + <sql>refresh materialized view mv_growth_existing_customer;</sql> + <set_params>N</set_params> + <insert_field/> + <update_field/> + <delete_field/> + <read_field/> + <arguments> + </arguments> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>576</xloc> + <yloc>128</yloc> + <draw>Y</draw> + </GUI> + </step> <step_error_handling> </step_error_handling> <slave-step-copy-partition-distribution> |
