Subversion Repositories SmartDukaan

Rev

Rev 5392 | Go to most recent revision | Details | Compare with Previous | 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/>
2519 vikas 8
    <trans_type>Normal</trans_type>
2400 ankur.sing 9
    <directory>&#47;</directory>
10
    <parameters>
11
    </parameters>
12
    <log>
2519 vikas 13
<trans-log-table><connection/>
14
<schema/>
15
<table/>
16
<size_limit_lines/>
17
<interval/>
18
<timeout_days/>
19
<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>N</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>N</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></trans-log-table>
20
<perf-log-table><connection/>
21
<schema/>
22
<table/>
23
<interval/>
24
<timeout_days/>
25
<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table>
26
<channel-log-table><connection/>
27
<schema/>
28
<table/>
29
<timeout_days/>
30
<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table>
31
<step-log-table><connection/>
32
<schema/>
33
<table/>
34
<timeout_days/>
35
<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table>
2400 ankur.sing 36
    </log>
37
    <maxdate>
38
      <connection/>
39
      <table/>
40
      <field/>
41
      <offset>0.0</offset>
42
      <maxdiff>0.0</maxdiff>
43
    </maxdate>
44
    <size_rowset>10000</size_rowset>
45
    <sleep_time_empty>50</sleep_time_empty>
46
    <sleep_time_full>50</sleep_time_full>
47
    <unique_connections>N</unique_connections>
48
    <feedback_shown>Y</feedback_shown>
49
    <feedback_size>50000</feedback_size>
50
    <using_thread_priorities>Y</using_thread_priorities>
51
    <shared_objects_file/>
52
    <capture_step_performance>N</capture_step_performance>
53
    <step_performance_capturing_delay>1000</step_performance_capturing_delay>
2519 vikas 54
    <step_performance_capturing_size_limit/>
2400 ankur.sing 55
    <dependencies>
56
    </dependencies>
57
    <partitionschemas>
58
    </partitionschemas>
59
    <slaveservers>
60
    </slaveservers>
61
    <clusterschemas>
62
    </clusterschemas>
2519 vikas 63
  <created_user/>
64
  <created_date>2011&#47;07&#47;04 19:09:34.486</created_date>
2400 ankur.sing 65
  <modified_user>-</modified_user>
66
  <modified_date>2011&#47;06&#47;23 16:22:03.072</modified_date>
67
  </info>
68
  <notepads>
69
  </notepads>
70
  <connection>
71
    <name>catalogDC</name>
72
    <server>localhost</server>
73
    <type>MYSQL</type>
74
    <access>Native</access>
75
    <database>sales</database>
76
    <port>3306</port>
77
    <username>root</username>
78
    <password>Encrypted 2be98afc86aa7f2e4b811a1608cc2fd8a</password>
79
    <servername/>
80
    <data_tablespace/>
81
    <index_tablespace/>
82
    <attributes>
83
      <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
84
      <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
85
      <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
86
      <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
87
      <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
88
      <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
89
      <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
90
      <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
91
      <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
92
      <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
93
    </attributes>
94
  </connection>
95
  <connection>
3496 vikas 96
    <name>catalogDC_local</name>
97
    <server>localhost</server>
98
    <type>MYSQL</type>
99
    <access>Native</access>
100
    <database>catalog</database>
101
    <port>3306</port>
102
    <username>root</username>
103
    <password>Encrypted 2be98afc86aa7f2e4b811a1608cc2fd8a</password>
104
    <servername/>
105
    <data_tablespace/>
106
    <index_tablespace/>
107
    <attributes>
108
      <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
109
      <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
110
      <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
111
      <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
112
      <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
113
      <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
114
      <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
115
      <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
116
      <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
117
      <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
118
    </attributes>
119
  </connection>
120
  <connection>
2400 ankur.sing 121
    <name>catalogDC_Prod</name>
5392 anupam.sin 122
    <server>192.168.190.113</server>
2400 ankur.sing 123
    <type>MYSQL</type>
124
    <access>Native</access>
125
    <database>catalog</database>
126
    <port>3306</port>
2533 vikas 127
    <username>pentaho</username>
128
    <password>Encrypted 2be98afc86aa7f2e4cb79ac798cc2fd8a</password>
2400 ankur.sing 129
    <servername/>
130
    <data_tablespace/>
131
    <index_tablespace/>
132
    <attributes>
133
      <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
134
      <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
135
      <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
136
      <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
137
      <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
138
      <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
139
      <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
140
      <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
141
      <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
142
      <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
143
    </attributes>
144
  </connection>
5156 anupam.sin 145
  <connection>
146
    <name>salesLocal</name>
147
    <server>localhost</server>
148
    <type>MYSQL</type>
149
    <access>Native</access>
150
    <database>sales</database>
151
    <port>3306</port>
152
    <username>root</username>
153
    <password>Encrypted 2be98afc86aa7f2e4b811a1608cc2fd8a</password>
154
    <servername/>
155
    <data_tablespace/>
156
    <index_tablespace/>
157
    <attributes>
158
      <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
159
      <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
160
      <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
161
      <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
162
      <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
163
      <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
164
      <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
165
      <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
166
      <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
167
      <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
168
    </attributes>
169
  </connection>
6554 anupam.sin 170
  <connection>
171
    <name>transaction_local</name>
172
    <server>localhost</server>
173
    <type>MYSQL</type>
174
    <access>Native</access>
175
    <database>transaction</database>
176
    <port>3306</port>
177
    <username>root</username>
178
    <password>Encrypted 2be98afc86aa7f2e4b811a1608cc2fd8a</password>
179
    <servername/>
180
    <data_tablespace/>
181
    <index_tablespace/>
182
    <attributes>
183
      <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
184
      <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
185
      <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
186
      <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
187
      <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
188
      <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
189
      <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
190
      <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
191
      <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
192
      <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
193
    </attributes>
194
  </connection>
2400 ankur.sing 195
  <order>
6554 anupam.sin 196
  <hop> <from>items</from><to>items_Mapping</to><enabled>Y</enabled> </hop>  <hop> <from>items_Mapping</from><to>Append streams</to><enabled>Y</enabled> </hop>  <hop> <from>RechargeOperators</from><to>rechargeOperatorSelector</to><enabled>Y</enabled> </hop>  <hop> <from>Append streams</from><to>items_DW</to><enabled>Y</enabled> </hop>  <hop> <from>rechargeOperatorSelector</from><to>Append streams</to><enabled>Y</enabled> </hop>  </order>
2400 ankur.sing 197
  <step>
198
    <name>items</name>
199
    <type>TableInput</type>
200
    <description/>
201
    <distribute>Y</distribute>
202
    <copies>1</copies>
203
         <partitioning>
204
           <method>none</method>
205
           <schema_name/>
206
           </partitioning>
6554 anupam.sin 207
    <connection>catalogDC_local</connection>
3496 vikas 208
    <sql>SELECT SQL_NO_CACHE item.id, item.catalog_item_id, product_group, brand, model_number, model_name, 
5156 anupam.sin 209
       color, category.label category, parent.label parent_category,
6554 anupam.sin 210
case when sellingPrice &lt; 2000 then &apos;a) 0-2000&apos; when sellingPrice &lt; 5000 then &apos;b) 2000-5000&apos; when sellingPrice &lt; 10000 then &apos;c) 5000-10000&apos; when sellingPrice &lt; 15000 then &apos;d) 10000-15000&apos; when sellingPrice &lt;20000 then &apos;e) 15000-20000&apos; when sellingPrice &lt; 50000 then &apos;f) 20000-50000&apos; else &apos;g) More than 50000&apos; end as price_range 
2532 vikas 211
FROM item, category, category as parent 
212
where item.category = category.id 
213
and category.parent_category_id = parent.id</sql>
2400 ankur.sing 214
    <limit>0</limit>
215
    <lookup/>
216
    <execute_each_row>N</execute_each_row>
217
    <variables_active>N</variables_active>
218
    <lazy_conversion_active>N</lazy_conversion_active>
219
     <cluster_schema/>
220
 <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI>
2532 vikas 221
      <xloc>144</xloc>
222
      <yloc>166</yloc>
2400 ankur.sing 223
      <draw>Y</draw>
224
      </GUI>
225
    </step>
226
 
227
  <step>
228
    <name>items_DW</name>
229
    <type>TableOutput</type>
230
    <description/>
231
    <distribute>Y</distribute>
232
    <copies>1</copies>
233
         <partitioning>
234
           <method>none</method>
235
           <schema_name/>
236
           </partitioning>
237
    <connection>catalogDC</connection>
6554 anupam.sin 238
    <schema>sales</schema>
2400 ankur.sing 239
    <table>item</table>
240
    <commit>1000</commit>
241
    <truncate>Y</truncate>
242
    <ignore_errors>N</ignore_errors>
243
    <use_batch>Y</use_batch>
244
    <specify_fields>N</specify_fields>
245
    <partitioning_enabled>N</partitioning_enabled>
246
    <partitioning_field/>
247
    <partitioning_daily>N</partitioning_daily>
248
    <partitioning_monthly>Y</partitioning_monthly>
249
    <tablename_in_field>N</tablename_in_field>
250
    <tablename_field/>
251
    <tablename_in_table>Y</tablename_in_table>
252
    <return_keys>N</return_keys>
253
    <return_field/>
254
    <fields>
2532 vikas 255
        <field>
256
          <column_name>id</column_name>
257
          <stream_name>id</stream_name>
258
        </field>
259
        <field>
260
          <column_name>product_group</column_name>
261
          <stream_name>product_group</stream_name>
262
        </field>
263
        <field>
264
          <column_name>brand</column_name>
265
          <stream_name>brand</stream_name>
266
        </field>
267
        <field>
268
          <column_name>model_number</column_name>
269
          <stream_name>model_number</stream_name>
270
        </field>
271
        <field>
272
          <column_name>model_name</column_name>
273
          <stream_name>model_name</stream_name>
274
        </field>
275
        <field>
276
          <column_name>color</column_name>
277
          <stream_name>color</stream_name>
278
        </field>
279
        <field>
280
          <column_name>category</column_name>
281
          <stream_name>category</stream_name>
282
        </field>
5156 anupam.sin 283
        <field>
284
          <column_name>catalog_item_id</column_name>
285
          <stream_name>catalog_item_id</stream_name>
286
        </field>
287
        <field>
288
          <column_name>parent_category</column_name>
289
          <stream_name>parent_category</stream_name>
290
        </field>
291
        <field>
292
          <column_name>price_range</column_name>
293
          <stream_name>price_range</stream_name>
294
        </field>
2400 ankur.sing 295
    </fields>
296
     <cluster_schema/>
297
 <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI>
6554 anupam.sin 298
      <xloc>752</xloc>
299
      <yloc>159</yloc>
2400 ankur.sing 300
      <draw>Y</draw>
301
      </GUI>
302
    </step>
303
 
304
  <step>
305
    <name>items_Mapping</name>
306
    <type>SelectValues</type>
307
    <description/>
308
    <distribute>Y</distribute>
309
    <copies>1</copies>
310
         <partitioning>
311
           <method>none</method>
312
           <schema_name/>
313
           </partitioning>
314
    <fields>      <field>        <name>id</name>
3496 vikas 315
        <rename/>
2400 ankur.sing 316
        <length>-2</length>
317
        <precision>-2</precision>
5156 anupam.sin 318
      </field>      <field>        <name>catalog_item_id</name>
319
        <rename/>
320
        <length>-2</length>
321
        <precision>-2</precision>
2400 ankur.sing 322
      </field>      <field>        <name>product_group</name>
3496 vikas 323
        <rename/>
2400 ankur.sing 324
        <length>-2</length>
325
        <precision>-2</precision>
326
      </field>      <field>        <name>brand</name>
3496 vikas 327
        <rename/>
2400 ankur.sing 328
        <length>-2</length>
329
        <precision>-2</precision>
330
      </field>      <field>        <name>model_number</name>
3496 vikas 331
        <rename/>
2400 ankur.sing 332
        <length>-2</length>
333
        <precision>-2</precision>
334
      </field>      <field>        <name>model_name</name>
3496 vikas 335
        <rename/>
2400 ankur.sing 336
        <length>-2</length>
337
        <precision>-2</precision>
338
      </field>      <field>        <name>color</name>
3496 vikas 339
        <rename/>
2400 ankur.sing 340
        <length>-2</length>
341
        <precision>-2</precision>
2532 vikas 342
      </field>      <field>        <name>category</name>
3496 vikas 343
        <rename/>
2532 vikas 344
        <length>-2</length>
345
        <precision>-2</precision>
346
      </field>      <field>        <name>parent_category</name>
3496 vikas 347
        <rename/>
2532 vikas 348
        <length>-2</length>
349
        <precision>-2</precision>
5156 anupam.sin 350
      </field>      <field>        <name>price_range</name>
3496 vikas 351
        <rename/>
352
        <length>-2</length>
353
        <precision>-2</precision>
2400 ankur.sing 354
      </field>        <select_unspecified>N</select_unspecified>
6554 anupam.sin 355
      <meta>        <name>id</name>
356
        <rename>id</rename>
357
        <type>Integer</type>
358
        <length>-2</length>
359
        <precision>-2</precision>
360
        <conversion_mask/>
361
        <date_format_lenient>false</date_format_lenient>
362
        <encoding/>
363
        <decimal_symbol/>
364
        <grouping_symbol/>
365
        <currency_symbol/>
366
        <storage_type/>
367
      </meta>    </fields>     <cluster_schema/>
2400 ankur.sing 368
 <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI>
6554 anupam.sin 369
      <xloc>256</xloc>
370
      <yloc>163</yloc>
2400 ankur.sing 371
      <draw>Y</draw>
372
      </GUI>
373
    </step>
374
 
6554 anupam.sin 375
  <step>
376
    <name>RechargeOperators</name>
377
    <type>TableInput</type>
378
    <description/>
379
    <distribute>Y</distribute>
380
    <copies>1</copies>
381
         <partitioning>
382
           <method>none</method>
383
           <schema_name/>
384
           </partitioning>
385
    <connection>transaction_local</connection>
386
    <sql>SELECT SQL_NO_CACHE 100000+id as id, 0 as catalog_item_id, &apos;Recharge&apos; as product_group, name as brand, case when type = 2 then &apos;DTH&apos; when type = 1 then &apos;Mobile&apos; end as model_number, &apos;&apos; as model_name, 
387
       &apos;N&#47;A&apos; as color, &apos;Recharge&apos; as category, &apos;Digital&apos; as parent_category,
388
&apos;N&#47;A&apos; as price_range 
389
FROM serviceprovider </sql>
390
    <limit>0</limit>
391
    <lookup/>
392
    <execute_each_row>N</execute_each_row>
393
    <variables_active>N</variables_active>
394
    <lazy_conversion_active>N</lazy_conversion_active>
395
     <cluster_schema/>
396
 <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI>
397
      <xloc>143</xloc>
398
      <yloc>322</yloc>
399
      <draw>Y</draw>
400
      </GUI>
401
    </step>
402
 
403
  <step>
404
    <name>Append streams</name>
405
    <type>Append</type>
406
    <description/>
407
    <distribute>Y</distribute>
408
    <copies>1</copies>
409
         <partitioning>
410
           <method>none</method>
411
           <schema_name/>
412
           </partitioning>
413
<head_name>items_Mapping</head_name>
414
<tail_name>rechargeOperatorSelector</tail_name>
415
     <cluster_schema/>
416
 <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI>
417
      <xloc>461</xloc>
418
      <yloc>231</yloc>
419
      <draw>Y</draw>
420
      </GUI>
421
    </step>
422
 
423
  <step>
424
    <name>rechargeOperatorSelector</name>
425
    <type>SelectValues</type>
426
    <description/>
427
    <distribute>Y</distribute>
428
    <copies>1</copies>
429
         <partitioning>
430
           <method>none</method>
431
           <schema_name/>
432
           </partitioning>
433
    <fields>      <field>        <name>id</name>
434
        <rename/>
435
        <length>-2</length>
436
        <precision>-2</precision>
437
      </field>      <field>        <name>catalog_item_id</name>
438
        <rename/>
439
        <length>-2</length>
440
        <precision>-2</precision>
441
      </field>      <field>        <name>product_group</name>
442
        <rename/>
443
        <length>-2</length>
444
        <precision>-2</precision>
445
      </field>      <field>        <name>brand</name>
446
        <rename/>
447
        <length>-2</length>
448
        <precision>-2</precision>
449
      </field>      <field>        <name>model_number</name>
450
        <rename/>
451
        <length>-2</length>
452
        <precision>-2</precision>
453
      </field>      <field>        <name>model_name</name>
454
        <rename/>
455
        <length>-2</length>
456
        <precision>-2</precision>
457
      </field>      <field>        <name>color</name>
458
        <rename/>
459
        <length>-2</length>
460
        <precision>-2</precision>
461
      </field>      <field>        <name>category</name>
462
        <rename/>
463
        <length>-2</length>
464
        <precision>-2</precision>
465
      </field>      <field>        <name>parent_category</name>
466
        <rename/>
467
        <length>-2</length>
468
        <precision>-2</precision>
469
      </field>      <field>        <name>price_range</name>
470
        <rename/>
471
        <length>-2</length>
472
        <precision>-2</precision>
473
      </field>        <select_unspecified>N</select_unspecified>
474
      <meta>        <name>id</name>
475
        <rename>id</rename>
476
        <type>Integer</type>
477
        <length>11</length>
478
        <precision>0</precision>
479
        <conversion_mask/>
480
        <date_format_lenient>false</date_format_lenient>
481
        <encoding/>
482
        <decimal_symbol/>
483
        <grouping_symbol/>
484
        <currency_symbol/>
485
        <storage_type/>
486
      </meta>      <meta>        <name>catalog_item_id</name>
487
        <rename>catalog_item_id</rename>
488
        <type>Integer</type>
489
        <length>9</length>
490
        <precision>0</precision>
491
        <conversion_mask/>
492
        <date_format_lenient>false</date_format_lenient>
493
        <encoding/>
494
        <decimal_symbol/>
495
        <grouping_symbol/>
496
        <currency_symbol/>
497
        <storage_type/>
498
      </meta>      <meta>        <name>product_group</name>
499
        <rename>product_group</rename>
500
        <type>-</type>
501
        <length>8</length>
502
        <precision>-2</precision>
503
        <conversion_mask/>
504
        <date_format_lenient>false</date_format_lenient>
505
        <encoding/>
506
        <decimal_symbol/>
507
        <grouping_symbol/>
508
        <currency_symbol/>
509
        <storage_type/>
510
      </meta>      <meta>        <name>brand</name>
511
        <rename>brand</rename>
512
        <type>-</type>
513
        <length>50</length>
514
        <precision>-2</precision>
515
        <conversion_mask/>
516
        <date_format_lenient>false</date_format_lenient>
517
        <encoding/>
518
        <decimal_symbol/>
519
        <grouping_symbol/>
520
        <currency_symbol/>
521
        <storage_type/>
522
      </meta>      <meta>        <name>model_number</name>
523
        <rename>model_number</rename>
524
        <type>-</type>
525
        <length>6</length>
526
        <precision>-2</precision>
527
        <conversion_mask/>
528
        <date_format_lenient>false</date_format_lenient>
529
        <encoding/>
530
        <decimal_symbol/>
531
        <grouping_symbol/>
532
        <currency_symbol/>
533
        <storage_type/>
534
      </meta>      <meta>        <name>model_name</name>
535
        <rename>model_name</rename>
536
        <type>-</type>
537
        <length>0</length>
538
        <precision>-2</precision>
539
        <conversion_mask/>
540
        <date_format_lenient>false</date_format_lenient>
541
        <encoding/>
542
        <decimal_symbol/>
543
        <grouping_symbol/>
544
        <currency_symbol/>
545
        <storage_type/>
546
      </meta>      <meta>        <name>color</name>
547
        <rename>color</rename>
548
        <type>-</type>
549
        <length>3</length>
550
        <precision>-2</precision>
551
        <conversion_mask/>
552
        <date_format_lenient>false</date_format_lenient>
553
        <encoding/>
554
        <decimal_symbol/>
555
        <grouping_symbol/>
556
        <currency_symbol/>
557
        <storage_type/>
558
      </meta>      <meta>        <name>category</name>
559
        <rename>category</rename>
560
        <type>-</type>
561
        <length>8</length>
562
        <precision>-2</precision>
563
        <conversion_mask/>
564
        <date_format_lenient>false</date_format_lenient>
565
        <encoding/>
566
        <decimal_symbol/>
567
        <grouping_symbol/>
568
        <currency_symbol/>
569
        <storage_type/>
570
      </meta>      <meta>        <name>parent_category</name>
571
        <rename>parent_category</rename>
572
        <type>-</type>
573
        <length>7</length>
574
        <precision>-2</precision>
575
        <conversion_mask/>
576
        <date_format_lenient>false</date_format_lenient>
577
        <encoding/>
578
        <decimal_symbol/>
579
        <grouping_symbol/>
580
        <currency_symbol/>
581
        <storage_type/>
582
      </meta>      <meta>        <name>price_range</name>
583
        <rename>price_range</rename>
584
        <type>-</type>
585
        <length>15</length>
586
        <precision>0</precision>
587
        <conversion_mask/>
588
        <date_format_lenient>false</date_format_lenient>
589
        <encoding/>
590
        <decimal_symbol/>
591
        <grouping_symbol/>
592
        <currency_symbol/>
593
        <storage_type/>
594
      </meta>    </fields>     <cluster_schema/>
595
 <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI>
596
      <xloc>325</xloc>
597
      <yloc>322</yloc>
598
      <draw>Y</draw>
599
      </GUI>
600
    </step>
601
 
2400 ankur.sing 602
  <step_error_handling>
603
  </step_error_handling>
604
   <slave-step-copy-partition-distribution>
605
</slave-step-copy-partition-distribution>
606
   <slave_transformation>N</slave_transformation>
607
</transformation>