summaryrefslogtreecommitdiff
path: root/import_brand.ktr
diff options
context:
space:
mode:
Diffstat (limited to 'import_brand.ktr')
-rw-r--r--import_brand.ktr128
1 files changed, 64 insertions, 64 deletions
diff --git a/import_brand.ktr b/import_brand.ktr
index 7b0d313..122b864 100644
--- a/import_brand.ktr
+++ b/import_brand.ktr
@@ -545,69 +545,6 @@
</hop>
</order>
<step>
- <name>dw Insert / update brand</name>
- <type>InsertUpdate</type>
- <description/>
- <distribute>Y</distribute>
- <custom_distribution/>
- <copies>1</copies>
- <partitioning>
- <method>none</method>
- <schema_name/>
- </partitioning>
- <connection>dw bi indoteknik (localhost)</connection>
- <commit>100</commit>
- <update_bypassed>N</update_bypassed>
- <lookup>
- <schema>public</schema>
- <table>brand</table>
- <key>
- <name>id</name>
- <field>id</field>
- <condition>=</condition>
- <name2/>
- </key>
- <value>
- <name>id</name>
- <rename>id</rename>
- <update>N</update>
- </value>
- <value>
- <name>name</name>
- <rename>x_name</rename>
- <update>Y</update>
- </value>
- <value>
- <name>type</name>
- <rename>x_manufacture_level</rename>
- <update>Y</update>
- </value>
- <value>
- <name>parent</name>
- <rename>parent</rename>
- <update>Y</update>
- </value>
- <value>
- <name>pricing_group</name>
- <rename>pricing_group</rename>
- <update>Y</update>
- </value>
- </lookup>
- <attributes/>
- <cluster_schema/>
- <remotesteps>
- <input>
- </input>
- <output>
- </output>
- </remotesteps>
- <GUI>
- <xloc>272</xloc>
- <yloc>96</yloc>
- <draw>Y</draw>
- </GUI>
- </step>
- <step>
<name>Table input</name>
<type>TableInput</type>
<description/>
@@ -622,7 +559,7 @@
<sql>select id, x_name, x_manufacture_level,
(select x_name from x_manufactures xm2 where xm2.id = xm.parent_id) as parent, pricing_group
from x_manufactures xm
-where xm.write_date >= (now() - '15 days'::interval)</sql>
+--where xm.write_date >= (now() - '15 days'::interval)</sql>
<limit>0</limit>
<lookup/>
<execute_each_row>N</execute_each_row>
@@ -760,6 +697,69 @@ where xm.write_date >= (now() - '15 days'::interval)</sql>
<draw>Y</draw>
</GUI>
</step>
+ <step>
+ <name>dw Insert / update brand</name>
+ <type>InsertUpdate</type>
+ <description/>
+ <distribute>Y</distribute>
+ <custom_distribution/>
+ <copies>1</copies>
+ <partitioning>
+ <method>none</method>
+ <schema_name/>
+ </partitioning>
+ <connection>dw bi indoteknik (localhost)</connection>
+ <commit>100</commit>
+ <update_bypassed>N</update_bypassed>
+ <lookup>
+ <schema>public</schema>
+ <table>brand</table>
+ <key>
+ <name>id</name>
+ <field>id</field>
+ <condition>=</condition>
+ <name2/>
+ </key>
+ <value>
+ <name>id</name>
+ <rename>id</rename>
+ <update>N</update>
+ </value>
+ <value>
+ <name>name</name>
+ <rename>x_name</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>type</name>
+ <rename>x_manufacture_level</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>parent</name>
+ <rename>parent</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>pricing_group</name>
+ <rename>pricing_group</rename>
+ <update>Y</update>
+ </value>
+ </lookup>
+ <attributes/>
+ <cluster_schema/>
+ <remotesteps>
+ <input>
+ </input>
+ <output>
+ </output>
+ </remotesteps>
+ <GUI>
+ <xloc>272</xloc>
+ <yloc>96</yloc>
+ <draw>Y</draw>
+ </GUI>
+ </step>
<step_error_handling>
</step_error_handling>
<slave-step-copy-partition-distribution>