summaryrefslogtreecommitdiff
path: root/refresh_materialized_view.ktr
diff options
context:
space:
mode:
Diffstat (limited to 'refresh_materialized_view.ktr')
-rw-r--r--refresh_materialized_view.ktr86
1 files changed, 86 insertions, 0 deletions
diff --git a/refresh_materialized_view.ktr b/refresh_materialized_view.ktr
index 3b68317..7e2bb98 100644
--- a/refresh_materialized_view.ktr
+++ b/refresh_materialized_view.ktr
@@ -512,6 +512,16 @@
<to>update quarter</to>
<enabled>Y</enabled>
</hop>
+ <hop>
+ <from>update quarter</from>
+ <to>growth existing customer</to>
+ <enabled>Y</enabled>
+ </hop>
+ <hop>
+ <from>growth existing customer</from>
+ <to>growth salesperson</to>
+ <enabled>Y</enabled>
+ </hop>
</order>
<step>
<name>accurate</name>
@@ -666,6 +676,44 @@
</GUI>
</step>
<step>
+ <name>growth existing customer</name>
+ <type>ExecSQL</type>
+ <description/>
+ <distribute>Y</distribute>
+ <custom_distribution/>
+ <copies>1</copies>
+ <partitioning>
+ <method>none</method>
+ <schema_name/>
+ </partitioning>
+ <connection>dw bi indoteknik (localhost)</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>1200</xloc>
+ <yloc>160</yloc>
+ <draw>Y</draw>
+ </GUI>
+ </step>
+ <step>
<name>salesperson</name>
<type>ExecSQL</type>
<description/>
@@ -741,6 +789,44 @@
<draw>Y</draw>
</GUI>
</step>
+ <step>
+ <name>growth salesperson</name>
+ <type>ExecSQL</type>
+ <description/>
+ <distribute>Y</distribute>
+ <custom_distribution/>
+ <copies>1</copies>
+ <partitioning>
+ <method>none</method>
+ <schema_name/>
+ </partitioning>
+ <connection>dw bi indoteknik (localhost)</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_salesperson</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>1200</xloc>
+ <yloc>304</yloc>
+ <draw>Y</draw>
+ </GUI>
+ </step>
<step_error_handling>
</step_error_handling>
<slave-step-copy-partition-distribution>