Subversion Repositories SmartDukaan

Rev

Rev 6554 | 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>
6572 anupam.sin 195
  <connection>
196
    <name>transProd</name>
197
    <server>192.168.190.113</server>
198
    <type>MYSQL</type>
199
    <access>Native</access>
200
    <database>transaction</database>
201
    <port>3306</port>
202
    <username>pentaho</username>
203
    <password>Encrypted 2be98afc86aa7f2e4cb79ac798cc2fd8a</password>
204
    <servername/>
205
    <data_tablespace/>
206
    <index_tablespace/>
207
    <attributes>
208
      <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
209
      <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
210
      <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
211
      <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
212
      <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
213
      <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
214
      <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
215
      <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
216
      <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
217
      <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
218
    </attributes>
219
  </connection>
2400 ankur.sing 220
  <order>
6554 anupam.sin 221
  <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 222
  <step>
223
    <name>items</name>
224
    <type>TableInput</type>
225
    <description/>
226
    <distribute>Y</distribute>
227
    <copies>1</copies>
228
         <partitioning>
229
           <method>none</method>
230
           <schema_name/>
231
           </partitioning>
6572 anupam.sin 232
    <connection>catalogDC_Prod</connection>
3496 vikas 233
    <sql>SELECT SQL_NO_CACHE item.id, item.catalog_item_id, product_group, brand, model_number, model_name, 
5156 anupam.sin 234
       color, category.label category, parent.label parent_category,
6554 anupam.sin 235
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 236
FROM item, category, category as parent 
237
where item.category = category.id 
238
and category.parent_category_id = parent.id</sql>
2400 ankur.sing 239
    <limit>0</limit>
240
    <lookup/>
241
    <execute_each_row>N</execute_each_row>
242
    <variables_active>N</variables_active>
243
    <lazy_conversion_active>N</lazy_conversion_active>
244
     <cluster_schema/>
245
 <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI>
2532 vikas 246
      <xloc>144</xloc>
247
      <yloc>166</yloc>
2400 ankur.sing 248
      <draw>Y</draw>
249
      </GUI>
250
    </step>
251
 
252
  <step>
253
    <name>items_DW</name>
254
    <type>TableOutput</type>
255
    <description/>
256
    <distribute>Y</distribute>
257
    <copies>1</copies>
258
         <partitioning>
259
           <method>none</method>
260
           <schema_name/>
261
           </partitioning>
262
    <connection>catalogDC</connection>
6554 anupam.sin 263
    <schema>sales</schema>
2400 ankur.sing 264
    <table>item</table>
265
    <commit>1000</commit>
266
    <truncate>Y</truncate>
267
    <ignore_errors>N</ignore_errors>
268
    <use_batch>Y</use_batch>
269
    <specify_fields>N</specify_fields>
270
    <partitioning_enabled>N</partitioning_enabled>
271
    <partitioning_field/>
272
    <partitioning_daily>N</partitioning_daily>
273
    <partitioning_monthly>Y</partitioning_monthly>
274
    <tablename_in_field>N</tablename_in_field>
275
    <tablename_field/>
276
    <tablename_in_table>Y</tablename_in_table>
277
    <return_keys>N</return_keys>
278
    <return_field/>
279
    <fields>
2532 vikas 280
        <field>
281
          <column_name>id</column_name>
282
          <stream_name>id</stream_name>
283
        </field>
284
        <field>
285
          <column_name>product_group</column_name>
286
          <stream_name>product_group</stream_name>
287
        </field>
288
        <field>
289
          <column_name>brand</column_name>
290
          <stream_name>brand</stream_name>
291
        </field>
292
        <field>
293
          <column_name>model_number</column_name>
294
          <stream_name>model_number</stream_name>
295
        </field>
296
        <field>
297
          <column_name>model_name</column_name>
298
          <stream_name>model_name</stream_name>
299
        </field>
300
        <field>
301
          <column_name>color</column_name>
302
          <stream_name>color</stream_name>
303
        </field>
304
        <field>
305
          <column_name>category</column_name>
306
          <stream_name>category</stream_name>
307
        </field>
5156 anupam.sin 308
        <field>
309
          <column_name>catalog_item_id</column_name>
310
          <stream_name>catalog_item_id</stream_name>
311
        </field>
312
        <field>
313
          <column_name>parent_category</column_name>
314
          <stream_name>parent_category</stream_name>
315
        </field>
316
        <field>
317
          <column_name>price_range</column_name>
318
          <stream_name>price_range</stream_name>
319
        </field>
2400 ankur.sing 320
    </fields>
321
     <cluster_schema/>
322
 <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI>
6554 anupam.sin 323
      <xloc>752</xloc>
324
      <yloc>159</yloc>
2400 ankur.sing 325
      <draw>Y</draw>
326
      </GUI>
327
    </step>
328
 
329
  <step>
330
    <name>items_Mapping</name>
331
    <type>SelectValues</type>
332
    <description/>
333
    <distribute>Y</distribute>
334
    <copies>1</copies>
335
         <partitioning>
336
           <method>none</method>
337
           <schema_name/>
338
           </partitioning>
339
    <fields>      <field>        <name>id</name>
3496 vikas 340
        <rename/>
2400 ankur.sing 341
        <length>-2</length>
342
        <precision>-2</precision>
5156 anupam.sin 343
      </field>      <field>        <name>catalog_item_id</name>
344
        <rename/>
345
        <length>-2</length>
346
        <precision>-2</precision>
2400 ankur.sing 347
      </field>      <field>        <name>product_group</name>
3496 vikas 348
        <rename/>
2400 ankur.sing 349
        <length>-2</length>
350
        <precision>-2</precision>
351
      </field>      <field>        <name>brand</name>
3496 vikas 352
        <rename/>
2400 ankur.sing 353
        <length>-2</length>
354
        <precision>-2</precision>
355
      </field>      <field>        <name>model_number</name>
3496 vikas 356
        <rename/>
2400 ankur.sing 357
        <length>-2</length>
358
        <precision>-2</precision>
359
      </field>      <field>        <name>model_name</name>
3496 vikas 360
        <rename/>
2400 ankur.sing 361
        <length>-2</length>
362
        <precision>-2</precision>
363
      </field>      <field>        <name>color</name>
3496 vikas 364
        <rename/>
2400 ankur.sing 365
        <length>-2</length>
366
        <precision>-2</precision>
2532 vikas 367
      </field>      <field>        <name>category</name>
3496 vikas 368
        <rename/>
2532 vikas 369
        <length>-2</length>
370
        <precision>-2</precision>
371
      </field>      <field>        <name>parent_category</name>
3496 vikas 372
        <rename/>
2532 vikas 373
        <length>-2</length>
374
        <precision>-2</precision>
5156 anupam.sin 375
      </field>      <field>        <name>price_range</name>
3496 vikas 376
        <rename/>
377
        <length>-2</length>
378
        <precision>-2</precision>
2400 ankur.sing 379
      </field>        <select_unspecified>N</select_unspecified>
6554 anupam.sin 380
      <meta>        <name>id</name>
381
        <rename>id</rename>
382
        <type>Integer</type>
383
        <length>-2</length>
384
        <precision>-2</precision>
385
        <conversion_mask/>
386
        <date_format_lenient>false</date_format_lenient>
387
        <encoding/>
388
        <decimal_symbol/>
389
        <grouping_symbol/>
390
        <currency_symbol/>
391
        <storage_type/>
392
      </meta>    </fields>     <cluster_schema/>
2400 ankur.sing 393
 <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI>
6554 anupam.sin 394
      <xloc>256</xloc>
395
      <yloc>163</yloc>
2400 ankur.sing 396
      <draw>Y</draw>
397
      </GUI>
398
    </step>
399
 
6554 anupam.sin 400
  <step>
401
    <name>RechargeOperators</name>
402
    <type>TableInput</type>
403
    <description/>
404
    <distribute>Y</distribute>
405
    <copies>1</copies>
406
         <partitioning>
407
           <method>none</method>
408
           <schema_name/>
409
           </partitioning>
6572 anupam.sin 410
    <connection>transProd</connection>
6554 anupam.sin 411
    <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, 
412
       &apos;N&#47;A&apos; as color, &apos;Recharge&apos; as category, &apos;Digital&apos; as parent_category,
413
&apos;N&#47;A&apos; as price_range 
414
FROM serviceprovider </sql>
415
    <limit>0</limit>
416
    <lookup/>
417
    <execute_each_row>N</execute_each_row>
418
    <variables_active>N</variables_active>
419
    <lazy_conversion_active>N</lazy_conversion_active>
420
     <cluster_schema/>
421
 <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI>
422
      <xloc>143</xloc>
423
      <yloc>322</yloc>
424
      <draw>Y</draw>
425
      </GUI>
426
    </step>
427
 
428
  <step>
429
    <name>Append streams</name>
430
    <type>Append</type>
431
    <description/>
432
    <distribute>Y</distribute>
433
    <copies>1</copies>
434
         <partitioning>
435
           <method>none</method>
436
           <schema_name/>
437
           </partitioning>
438
<head_name>items_Mapping</head_name>
439
<tail_name>rechargeOperatorSelector</tail_name>
440
     <cluster_schema/>
441
 <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI>
442
      <xloc>461</xloc>
443
      <yloc>231</yloc>
444
      <draw>Y</draw>
445
      </GUI>
446
    </step>
447
 
448
  <step>
449
    <name>rechargeOperatorSelector</name>
450
    <type>SelectValues</type>
451
    <description/>
452
    <distribute>Y</distribute>
453
    <copies>1</copies>
454
         <partitioning>
455
           <method>none</method>
456
           <schema_name/>
457
           </partitioning>
458
    <fields>      <field>        <name>id</name>
459
        <rename/>
460
        <length>-2</length>
461
        <precision>-2</precision>
462
      </field>      <field>        <name>catalog_item_id</name>
463
        <rename/>
464
        <length>-2</length>
465
        <precision>-2</precision>
466
      </field>      <field>        <name>product_group</name>
467
        <rename/>
468
        <length>-2</length>
469
        <precision>-2</precision>
470
      </field>      <field>        <name>brand</name>
471
        <rename/>
472
        <length>-2</length>
473
        <precision>-2</precision>
474
      </field>      <field>        <name>model_number</name>
475
        <rename/>
476
        <length>-2</length>
477
        <precision>-2</precision>
478
      </field>      <field>        <name>model_name</name>
479
        <rename/>
480
        <length>-2</length>
481
        <precision>-2</precision>
482
      </field>      <field>        <name>color</name>
483
        <rename/>
484
        <length>-2</length>
485
        <precision>-2</precision>
486
      </field>      <field>        <name>category</name>
487
        <rename/>
488
        <length>-2</length>
489
        <precision>-2</precision>
490
      </field>      <field>        <name>parent_category</name>
491
        <rename/>
492
        <length>-2</length>
493
        <precision>-2</precision>
494
      </field>      <field>        <name>price_range</name>
495
        <rename/>
496
        <length>-2</length>
497
        <precision>-2</precision>
498
      </field>        <select_unspecified>N</select_unspecified>
499
      <meta>        <name>id</name>
500
        <rename>id</rename>
501
        <type>Integer</type>
502
        <length>11</length>
503
        <precision>0</precision>
504
        <conversion_mask/>
505
        <date_format_lenient>false</date_format_lenient>
506
        <encoding/>
507
        <decimal_symbol/>
508
        <grouping_symbol/>
509
        <currency_symbol/>
510
        <storage_type/>
511
      </meta>      <meta>        <name>catalog_item_id</name>
512
        <rename>catalog_item_id</rename>
513
        <type>Integer</type>
514
        <length>9</length>
515
        <precision>0</precision>
516
        <conversion_mask/>
517
        <date_format_lenient>false</date_format_lenient>
518
        <encoding/>
519
        <decimal_symbol/>
520
        <grouping_symbol/>
521
        <currency_symbol/>
522
        <storage_type/>
523
      </meta>      <meta>        <name>product_group</name>
524
        <rename>product_group</rename>
525
        <type>-</type>
526
        <length>8</length>
527
        <precision>-2</precision>
528
        <conversion_mask/>
529
        <date_format_lenient>false</date_format_lenient>
530
        <encoding/>
531
        <decimal_symbol/>
532
        <grouping_symbol/>
533
        <currency_symbol/>
534
        <storage_type/>
535
      </meta>      <meta>        <name>brand</name>
536
        <rename>brand</rename>
537
        <type>-</type>
538
        <length>50</length>
539
        <precision>-2</precision>
540
        <conversion_mask/>
541
        <date_format_lenient>false</date_format_lenient>
542
        <encoding/>
543
        <decimal_symbol/>
544
        <grouping_symbol/>
545
        <currency_symbol/>
546
        <storage_type/>
547
      </meta>      <meta>        <name>model_number</name>
548
        <rename>model_number</rename>
549
        <type>-</type>
550
        <length>6</length>
551
        <precision>-2</precision>
552
        <conversion_mask/>
553
        <date_format_lenient>false</date_format_lenient>
554
        <encoding/>
555
        <decimal_symbol/>
556
        <grouping_symbol/>
557
        <currency_symbol/>
558
        <storage_type/>
559
      </meta>      <meta>        <name>model_name</name>
560
        <rename>model_name</rename>
561
        <type>-</type>
562
        <length>0</length>
563
        <precision>-2</precision>
564
        <conversion_mask/>
565
        <date_format_lenient>false</date_format_lenient>
566
        <encoding/>
567
        <decimal_symbol/>
568
        <grouping_symbol/>
569
        <currency_symbol/>
570
        <storage_type/>
571
      </meta>      <meta>        <name>color</name>
572
        <rename>color</rename>
573
        <type>-</type>
574
        <length>3</length>
575
        <precision>-2</precision>
576
        <conversion_mask/>
577
        <date_format_lenient>false</date_format_lenient>
578
        <encoding/>
579
        <decimal_symbol/>
580
        <grouping_symbol/>
581
        <currency_symbol/>
582
        <storage_type/>
583
      </meta>      <meta>        <name>category</name>
584
        <rename>category</rename>
585
        <type>-</type>
586
        <length>8</length>
587
        <precision>-2</precision>
588
        <conversion_mask/>
589
        <date_format_lenient>false</date_format_lenient>
590
        <encoding/>
591
        <decimal_symbol/>
592
        <grouping_symbol/>
593
        <currency_symbol/>
594
        <storage_type/>
595
      </meta>      <meta>        <name>parent_category</name>
596
        <rename>parent_category</rename>
597
        <type>-</type>
598
        <length>7</length>
599
        <precision>-2</precision>
600
        <conversion_mask/>
601
        <date_format_lenient>false</date_format_lenient>
602
        <encoding/>
603
        <decimal_symbol/>
604
        <grouping_symbol/>
605
        <currency_symbol/>
606
        <storage_type/>
607
      </meta>      <meta>        <name>price_range</name>
608
        <rename>price_range</rename>
609
        <type>-</type>
610
        <length>15</length>
611
        <precision>0</precision>
612
        <conversion_mask/>
613
        <date_format_lenient>false</date_format_lenient>
614
        <encoding/>
615
        <decimal_symbol/>
616
        <grouping_symbol/>
617
        <currency_symbol/>
618
        <storage_type/>
619
      </meta>    </fields>     <cluster_schema/>
620
 <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI>
621
      <xloc>325</xloc>
622
      <yloc>322</yloc>
623
      <draw>Y</draw>
624
      </GUI>
625
    </step>
626
 
2400 ankur.sing 627
  <step_error_handling>
628
  </step_error_handling>
629
   <slave-step-copy-partition-distribution>
630
</slave-step-copy-partition-distribution>
631
   <slave_transformation>N</slave_transformation>
632
</transformation>