diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-03-25 14:43:56 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-03-25 14:43:56 +0700 |
| commit | 3af3dcebb085de4afef6d7381b574149f8e90ccc (patch) | |
| tree | 38c83eb53ee676fa97650535db26c483dca8464f /refresh_materialized_view.ktr | |
| parent | b355e154c605afea2d14ff7daa81c23af9b0ece5 (diff) | |
add refresh materialized view
Diffstat (limited to 'refresh_materialized_view.ktr')
| -rw-r--r-- | refresh_materialized_view.ktr | 135 |
1 files changed, 132 insertions, 3 deletions
diff --git a/refresh_materialized_view.ktr b/refresh_materialized_view.ktr index 7e2bb98..5435816 100644 --- a/refresh_materialized_view.ktr +++ b/refresh_materialized_view.ktr @@ -522,6 +522,21 @@ <to>growth salesperson</to> <enabled>Y</enabled> </hop> + <hop> + <from>growth salesperson</from> + <to>invoice customer group by brand and year</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>invoice customer group by brand and year</from> + <to>growth brand per year</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>growth brand per year</from> + <to>growth category brand per year</to> + <enabled>Y</enabled> + </hop> </order> <step> <name>accurate</name> @@ -714,6 +729,44 @@ </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> <name>salesperson</name> <type>ExecSQL</type> <description/> @@ -790,7 +843,7 @@ </GUI> </step> <step> - <name>growth salesperson</name> + <name>invoice customer group by brand and year</name> <type>ExecSQL</type> <description/> <distribute>Y</distribute> @@ -805,7 +858,7 @@ <single_statement>N</single_statement> <replace_variables>N</replace_variables> <quoteString>N</quoteString> - <sql>refresh materialized view mv_growth_salesperson</sql> + <sql>refresh materialized view mv_invoice_customer_group_brand_year</sql> <set_params>N</set_params> <insert_field/> <update_field/> @@ -822,7 +875,83 @@ </output> </remotesteps> <GUI> - <xloc>1200</xloc> + <xloc>944</xloc> + <yloc>304</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>growth brand per year</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_brand_per_year</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>720</xloc> + <yloc>304</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>growth category brand per year</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_category_brand_per_year</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>560</xloc> <yloc>304</yloc> <draw>Y</draw> </GUI> |
