Subversion Repositories SmartDukaan

Rev

Rev 2519 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2400 ankur.sing 1
<?xml version="1.0" encoding="UTF-8"?>
2
<transformation>
3
  <info>
4
    <name>itemLoader</name>
5
    <description/>
6
    <extended_description/>
7
    <trans_version/>
8
    <directory>&#47;</directory>
9
    <parameters>
10
    </parameters>
11
    <log>
12
      <read/>
13
      <write/>
14
      <input/>
15
      <output/>
16
      <update/>
17
      <rejected/>
18
      <connection/>
19
      <table/>
20
      <step_performance_table/>
21
      <use_batchid>Y</use_batchid>
22
      <use_logfield>N</use_logfield>
23
      <size_limit_lines/>
24
    </log>
25
    <maxdate>
26
      <connection/>
27
      <table/>
28
      <field/>
29
      <offset>0.0</offset>
30
      <maxdiff>0.0</maxdiff>
31
    </maxdate>
32
    <size_rowset>10000</size_rowset>
33
    <sleep_time_empty>50</sleep_time_empty>
34
    <sleep_time_full>50</sleep_time_full>
35
    <unique_connections>N</unique_connections>
36
    <feedback_shown>Y</feedback_shown>
37
    <feedback_size>50000</feedback_size>
38
    <using_thread_priorities>Y</using_thread_priorities>
39
    <shared_objects_file/>
40
    <capture_step_performance>N</capture_step_performance>
41
    <step_performance_capturing_delay>1000</step_performance_capturing_delay>
42
    <dependencies>
43
    </dependencies>
44
    <partitionschemas>
45
    </partitionschemas>
46
    <slaveservers>
47
    </slaveservers>
48
    <clusterschemas>
49
    </clusterschemas>
50
  <modified_user>-</modified_user>
51
  <modified_date>2011&#47;06&#47;23 16:22:03.072</modified_date>
52
  </info>
53
  <notepads>
54
  </notepads>
55
  <connection>
56
    <name>catalogDC</name>
57
    <server>localhost</server>
58
    <type>MYSQL</type>
59
    <access>Native</access>
60
    <database>sales</database>
61
    <port>3306</port>
62
    <username>root</username>
63
    <password>Encrypted 2be98afc86aa7f2e4b811a1608cc2fd8a</password>
64
    <servername/>
65
    <data_tablespace/>
66
    <index_tablespace/>
67
    <attributes>
68
      <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
69
      <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
70
      <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
71
      <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
72
      <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
73
      <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
74
      <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
75
      <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
76
      <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
77
      <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
78
    </attributes>
79
  </connection>
80
  <connection>
81
    <name>catalogDC_Prod</name>
82
    <server>192.168.141.43</server>
83
    <type>MYSQL</type>
84
    <access>Native</access>
85
    <database>catalog</database>
86
    <port>3306</port>
87
    <username>pentaho</username>
88
    <password>Encrypted 2be98afc86ad7978abf18a67fce93bcc9</password>
89
    <servername/>
90
    <data_tablespace/>
91
    <index_tablespace/>
92
    <attributes>
93
      <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
94
      <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
95
      <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
96
      <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
97
      <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
98
      <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
99
      <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
100
      <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
101
      <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
102
      <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
103
    </attributes>
104
  </connection>
105
  <order>
106
  <hop> <from>items</from><to>items_Mapping</to><enabled>Y</enabled> </hop>  <hop> <from>items_Mapping</from><to>items_DW</to><enabled>Y</enabled> </hop>  </order>
107
  <step>
108
    <name>items</name>
109
    <type>TableInput</type>
110
    <description/>
111
    <distribute>Y</distribute>
112
    <copies>1</copies>
113
         <partitioning>
114
           <method>none</method>
115
           <schema_name/>
116
           </partitioning>
117
    <connection>catalogDC_Prod</connection>
118
    <sql>SELECT id, product_group, brand, model_number, model_name, color FROM item</sql>
119
    <limit>0</limit>
120
    <lookup/>
121
    <execute_each_row>N</execute_each_row>
122
    <variables_active>N</variables_active>
123
    <lazy_conversion_active>N</lazy_conversion_active>
124
     <cluster_schema/>
125
 <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI>
126
      <xloc>143</xloc>
127
      <yloc>166</yloc>
128
      <draw>Y</draw>
129
      </GUI>
130
    </step>
131
 
132
  <step>
133
    <name>items_DW</name>
134
    <type>TableOutput</type>
135
    <description/>
136
    <distribute>Y</distribute>
137
    <copies>1</copies>
138
         <partitioning>
139
           <method>none</method>
140
           <schema_name/>
141
           </partitioning>
142
    <connection>catalogDC</connection>
143
    <schema/>
144
    <table>item</table>
145
    <commit>1000</commit>
146
    <truncate>Y</truncate>
147
    <ignore_errors>N</ignore_errors>
148
    <use_batch>Y</use_batch>
149
    <specify_fields>N</specify_fields>
150
    <partitioning_enabled>N</partitioning_enabled>
151
    <partitioning_field/>
152
    <partitioning_daily>N</partitioning_daily>
153
    <partitioning_monthly>Y</partitioning_monthly>
154
    <tablename_in_field>N</tablename_in_field>
155
    <tablename_field/>
156
    <tablename_in_table>Y</tablename_in_table>
157
    <return_keys>N</return_keys>
158
    <return_field/>
159
    <fields>
160
    </fields>
161
     <cluster_schema/>
162
 <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI>
163
      <xloc>435</xloc>
164
      <yloc>166</yloc>
165
      <draw>Y</draw>
166
      </GUI>
167
    </step>
168
 
169
  <step>
170
    <name>items_Mapping</name>
171
    <type>SelectValues</type>
172
    <description/>
173
    <distribute>Y</distribute>
174
    <copies>1</copies>
175
         <partitioning>
176
           <method>none</method>
177
           <schema_name/>
178
           </partitioning>
179
    <fields>      <field>        <name>id</name>
180
        <rename>id</rename>
181
        <length>-2</length>
182
        <precision>-2</precision>
183
      </field>      <field>        <name>product_group</name>
184
        <rename>product_group</rename>
185
        <length>-2</length>
186
        <precision>-2</precision>
187
      </field>      <field>        <name>brand</name>
188
        <rename>brand</rename>
189
        <length>-2</length>
190
        <precision>-2</precision>
191
      </field>      <field>        <name>model_number</name>
192
        <rename>model_number</rename>
193
        <length>-2</length>
194
        <precision>-2</precision>
195
      </field>      <field>        <name>model_name</name>
196
        <rename>model_name</rename>
197
        <length>-2</length>
198
        <precision>-2</precision>
199
      </field>      <field>        <name>color</name>
200
        <rename>color</rename>
201
        <length>-2</length>
202
        <precision>-2</precision>
203
      </field>        <select_unspecified>N</select_unspecified>
204
    </fields>     <cluster_schema/>
205
 <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI>
206
      <xloc>304</xloc>
207
      <yloc>166</yloc>
208
      <draw>Y</draw>
209
      </GUI>
210
    </step>
211
 
212
  <step_error_handling>
213
  </step_error_handling>
214
   <slave-step-copy-partition-distribution>
215
</slave-step-copy-partition-distribution>
216
   <slave_transformation>N</slave_transformation>
217
</transformation>