| 6541 |
anupam.sin |
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
2 |
<transformation>
|
|
|
3 |
<info>
|
|
|
4 |
<name>RepeatSaleAnalysis</name>
|
|
|
5 |
<description/>
|
|
|
6 |
<extended_description/>
|
|
|
7 |
<trans_version/>
|
|
|
8 |
<trans_type>Normal</trans_type>
|
|
|
9 |
<directory>/</directory>
|
|
|
10 |
<parameters>
|
|
|
11 |
</parameters>
|
|
|
12 |
<log>
|
|
|
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>Y</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>Y</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>Y</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>
|
|
|
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>
|
|
|
54 |
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit>
|
|
|
55 |
<dependencies>
|
|
|
56 |
</dependencies>
|
|
|
57 |
<partitionschemas>
|
|
|
58 |
</partitionschemas>
|
|
|
59 |
<slaveservers>
|
|
|
60 |
</slaveservers>
|
|
|
61 |
<clusterschemas>
|
|
|
62 |
</clusterschemas>
|
|
|
63 |
<created_user>-</created_user>
|
|
|
64 |
<created_date>2012/12/21 13:18:30.424</created_date>
|
|
|
65 |
<modified_user>-</modified_user>
|
|
|
66 |
<modified_date>2012/12/21 13:18:30.424</modified_date>
|
|
|
67 |
</info>
|
|
|
68 |
<notepads>
|
|
|
69 |
</notepads>
|
|
|
70 |
<connection>
|
|
|
71 |
<name>local_tran</name>
|
|
|
72 |
<server>localhost</server>
|
|
|
73 |
<type>MYSQL</type>
|
|
|
74 |
<access>Native</access>
|
|
|
75 |
<database>transaction</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>
|
|
|
96 |
<name>sales_local</name>
|
|
|
97 |
<server>localhost</server>
|
|
|
98 |
<type>MYSQL</type>
|
|
|
99 |
<access>Native</access>
|
|
|
100 |
<database>sales</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 |
<order>
|
|
|
121 |
<hop> <from>PhysicalOrder</from><to>Append streams</to><enabled>Y</enabled> </hop> <hop> <from>Append streams</from><to>Sort rows</to><enabled>Y</enabled> </hop> <hop> <from>Sort rows</from><to>Table output</to><enabled>Y</enabled> </hop> <hop> <from>DigitalOrder</from><to>Select values</to><enabled>Y</enabled> </hop> <hop> <from>Select values</from><to>Append streams</to><enabled>Y</enabled> </hop> </order>
|
|
|
122 |
<step>
|
|
|
123 |
<name>Append streams</name>
|
|
|
124 |
<type>Append</type>
|
|
|
125 |
<description/>
|
|
|
126 |
<distribute>Y</distribute>
|
|
|
127 |
<copies>1</copies>
|
|
|
128 |
<partitioning>
|
|
|
129 |
<method>none</method>
|
|
|
130 |
<schema_name/>
|
|
|
131 |
</partitioning>
|
|
|
132 |
<head_name>PhysicalOrder</head_name>
|
|
|
133 |
<tail_name>Select values</tail_name>
|
|
|
134 |
<cluster_schema/>
|
|
|
135 |
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
|
|
|
136 |
<xloc>443</xloc>
|
|
|
137 |
<yloc>208</yloc>
|
|
|
138 |
<draw>Y</draw>
|
|
|
139 |
</GUI>
|
|
|
140 |
</step>
|
|
|
141 |
|
|
|
142 |
<step>
|
|
|
143 |
<name>DigitalOrder</name>
|
|
|
144 |
<type>TableInput</type>
|
|
|
145 |
<description/>
|
|
|
146 |
<distribute>Y</distribute>
|
|
|
147 |
<copies>1</copies>
|
|
|
148 |
<partitioning>
|
|
|
149 |
<method>none</method>
|
|
|
150 |
<schema_name/>
|
|
|
151 |
</partitioning>
|
|
|
152 |
<connection>local_tran</connection>
|
| 6547 |
anupam.sin |
153 |
<sql>select b.id as orderId,
|
|
|
154 |
b.userId,
|
|
|
155 |
1 as orderType,
|
|
|
156 |
datediff(b.creationTimestamp, '20101231') as dateId,
|
|
|
157 |
|
|
|
158 |
|
|
|
159 |
b.transaction_id as transactionId,
|
|
|
160 |
b.totalAmount as amount,
|
|
|
161 |
b.totalAmount as transferPrice,
|
|
|
162 |
'N/A' as pincode,
|
|
|
163 |
|
|
|
164 |
1 as quantity,
|
|
|
165 |
1005 as status,
|
|
|
166 |
|
|
|
167 |
|
|
|
168 |
from baseorder b
|
|
|
169 |
join rechargeorder r on b.id = r.immediateconsumedorder_digitalorder_baseorder_id
|
|
|
170 |
where r.status = 5;
|
|
|
171 |
</sql>
|
| 6541 |
anupam.sin |
172 |
<limit>0</limit>
|
|
|
173 |
<lookup/>
|
|
|
174 |
<execute_each_row>N</execute_each_row>
|
|
|
175 |
<variables_active>N</variables_active>
|
|
|
176 |
<lazy_conversion_active>N</lazy_conversion_active>
|
|
|
177 |
<cluster_schema/>
|
|
|
178 |
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
|
|
|
179 |
<xloc>217</xloc>
|
|
|
180 |
<yloc>277</yloc>
|
|
|
181 |
<draw>Y</draw>
|
|
|
182 |
</GUI>
|
|
|
183 |
</step>
|
|
|
184 |
|
|
|
185 |
<step>
|
|
|
186 |
<name>PhysicalOrder</name>
|
|
|
187 |
<type>TableInput</type>
|
|
|
188 |
<description>PhysicalOrder</description>
|
|
|
189 |
<distribute>Y</distribute>
|
|
|
190 |
<copies>1</copies>
|
|
|
191 |
<partitioning>
|
|
|
192 |
<method>none</method>
|
|
|
193 |
<schema_name/>
|
|
|
194 |
</partitioning>
|
|
|
195 |
<connection>local_tran</connection>
|
|
|
196 |
<sql>select o.id as orderId,
|
|
|
197 |
o.customer_id as userId,
|
|
|
198 |
|
|
|
199 |
case when o.originalOrderId is null then datediff(o.created_timestamp, '20101231')
|
| 6547 |
anupam.sin |
200 |
else datediff((select created_timestamp from `order` where id = o.originalOrderId), '20101231') end as dateId ,
|
| 6541 |
anupam.sin |
201 |
|
|
|
202 |
|
|
|
203 |
o.transaction_id as transactionId,
|
|
|
204 |
o.total_amount as amount,
|
|
|
205 |
l.transfer_price as transferPrice,
|
| 6547 |
anupam.sin |
206 |
o.customer_pincode as pincode,
|
| 6541 |
anupam.sin |
207 |
l.item_id as itemId,
|
|
|
208 |
l.quantity ,
|
|
|
209 |
o.status,
|
|
|
210 |
|
|
|
211 |
|
|
|
212 |
from `order` o
|
|
|
213 |
join lineitem l on l.order_id = o.id
|
|
|
214 |
where o.status in(2,3,4,5,6,7,9,10,12,13,14,16,17,19,20,21,22,23,24,25,26,27,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,48,50,51,52,54,56,57,58,59,60,61,62,63,64,65,66,67,68,70,72,74,76,77,79,80,81)
|
|
|
215 |
</sql>
|
|
|
216 |
<limit>0</limit>
|
|
|
217 |
<lookup/>
|
|
|
218 |
<execute_each_row>N</execute_each_row>
|
|
|
219 |
<variables_active>N</variables_active>
|
|
|
220 |
<lazy_conversion_active>N</lazy_conversion_active>
|
|
|
221 |
<cluster_schema/>
|
|
|
222 |
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
|
|
|
223 |
<xloc>215</xloc>
|
|
|
224 |
<yloc>146</yloc>
|
|
|
225 |
<draw>Y</draw>
|
|
|
226 |
</GUI>
|
|
|
227 |
</step>
|
|
|
228 |
|
|
|
229 |
<step>
|
|
|
230 |
<name>Select values</name>
|
|
|
231 |
<type>SelectValues</type>
|
|
|
232 |
<description/>
|
|
|
233 |
<distribute>Y</distribute>
|
|
|
234 |
<copies>1</copies>
|
|
|
235 |
<partitioning>
|
|
|
236 |
<method>none</method>
|
|
|
237 |
<schema_name/>
|
|
|
238 |
</partitioning>
|
|
|
239 |
<fields> <select_unspecified>N</select_unspecified>
|
|
|
240 |
<meta> <name>orderId</name>
|
|
|
241 |
<rename>orderId</rename>
|
|
|
242 |
<type>-</type>
|
|
|
243 |
<length>9</length>
|
|
|
244 |
<precision>0</precision>
|
|
|
245 |
<conversion_mask/>
|
|
|
246 |
<date_format_lenient>false</date_format_lenient>
|
|
|
247 |
<encoding/>
|
|
|
248 |
<decimal_symbol/>
|
|
|
249 |
<grouping_symbol/>
|
|
|
250 |
<currency_symbol/>
|
|
|
251 |
<storage_type/>
|
| 6547 |
anupam.sin |
252 |
</meta> <meta> <name>userId</name>
|
|
|
253 |
<rename>userId</rename>
|
|
|
254 |
<type>-</type>
|
|
|
255 |
<length>9</length>
|
|
|
256 |
<precision>0</precision>
|
|
|
257 |
<conversion_mask/>
|
|
|
258 |
<date_format_lenient>false</date_format_lenient>
|
|
|
259 |
<encoding/>
|
|
|
260 |
<decimal_symbol/>
|
|
|
261 |
<grouping_symbol/>
|
|
|
262 |
<currency_symbol/>
|
|
|
263 |
<storage_type/>
|
|
|
264 |
</meta> <meta> <name>orderType</name>
|
|
|
265 |
<rename>orderType</rename>
|
|
|
266 |
<type>-</type>
|
|
|
267 |
<length>15</length>
|
|
|
268 |
<precision>0</precision>
|
|
|
269 |
<conversion_mask/>
|
|
|
270 |
<date_format_lenient>false</date_format_lenient>
|
|
|
271 |
<encoding/>
|
|
|
272 |
<decimal_symbol/>
|
|
|
273 |
<grouping_symbol/>
|
|
|
274 |
<currency_symbol/>
|
|
|
275 |
<storage_type/>
|
| 6541 |
anupam.sin |
276 |
</meta> <meta> <name>dateId</name>
|
|
|
277 |
<rename>dateId</rename>
|
|
|
278 |
<type>-</type>
|
|
|
279 |
<length>15</length>
|
|
|
280 |
<precision>0</precision>
|
|
|
281 |
<conversion_mask/>
|
|
|
282 |
<date_format_lenient>false</date_format_lenient>
|
|
|
283 |
<encoding/>
|
|
|
284 |
<decimal_symbol/>
|
|
|
285 |
<grouping_symbol/>
|
|
|
286 |
<currency_symbol/>
|
|
|
287 |
<storage_type/>
|
| 6547 |
anupam.sin |
288 |
</meta> <meta> <name>repeatType</name>
|
|
|
289 |
<rename>repeatType</rename>
|
| 6541 |
anupam.sin |
290 |
<type>-</type>
|
| 6547 |
anupam.sin |
291 |
<length>15</length>
|
| 6541 |
anupam.sin |
292 |
<precision>0</precision>
|
|
|
293 |
<conversion_mask/>
|
|
|
294 |
<date_format_lenient>false</date_format_lenient>
|
|
|
295 |
<encoding/>
|
|
|
296 |
<decimal_symbol/>
|
|
|
297 |
<grouping_symbol/>
|
|
|
298 |
<currency_symbol/>
|
|
|
299 |
<storage_type/>
|
| 6547 |
anupam.sin |
300 |
</meta> <meta> <name>repeatFrequency</name>
|
|
|
301 |
<rename>repeatFrequency</rename>
|
| 6541 |
anupam.sin |
302 |
<type>-</type>
|
|
|
303 |
<length>15</length>
|
|
|
304 |
<precision>0</precision>
|
|
|
305 |
<conversion_mask/>
|
|
|
306 |
<date_format_lenient>false</date_format_lenient>
|
|
|
307 |
<encoding/>
|
|
|
308 |
<decimal_symbol/>
|
|
|
309 |
<grouping_symbol/>
|
|
|
310 |
<currency_symbol/>
|
|
|
311 |
<storage_type/>
|
| 6547 |
anupam.sin |
312 |
</meta> <meta> <name>transactionId</name>
|
|
|
313 |
<rename>transactionId</rename>
|
|
|
314 |
<type>-</type>
|
|
|
315 |
<length>9</length>
|
|
|
316 |
<precision>0</precision>
|
|
|
317 |
<conversion_mask/>
|
|
|
318 |
<date_format_lenient>false</date_format_lenient>
|
|
|
319 |
<encoding/>
|
|
|
320 |
<decimal_symbol/>
|
|
|
321 |
<grouping_symbol/>
|
|
|
322 |
<currency_symbol/>
|
|
|
323 |
<storage_type/>
|
| 6541 |
anupam.sin |
324 |
</meta> <meta> <name>amount</name>
|
|
|
325 |
<rename>amount</rename>
|
|
|
326 |
<type>Number</type>
|
|
|
327 |
<length>9</length>
|
|
|
328 |
<precision>0</precision>
|
|
|
329 |
<conversion_mask/>
|
|
|
330 |
<date_format_lenient>false</date_format_lenient>
|
|
|
331 |
<encoding/>
|
|
|
332 |
<decimal_symbol/>
|
|
|
333 |
<grouping_symbol/>
|
|
|
334 |
<currency_symbol/>
|
|
|
335 |
<storage_type/>
|
| 6547 |
anupam.sin |
336 |
</meta> <meta> <name>transferPrice</name>
|
|
|
337 |
<rename>transferPrice</rename>
|
|
|
338 |
<type>Number</type>
|
|
|
339 |
<length>9</length>
|
|
|
340 |
<precision>0</precision>
|
|
|
341 |
<conversion_mask/>
|
|
|
342 |
<date_format_lenient>false</date_format_lenient>
|
|
|
343 |
<encoding/>
|
|
|
344 |
<decimal_symbol/>
|
|
|
345 |
<grouping_symbol/>
|
|
|
346 |
<currency_symbol/>
|
|
|
347 |
<storage_type/>
|
|
|
348 |
</meta> <meta> <name>pincode</name>
|
|
|
349 |
<rename>pincode</rename>
|
|
|
350 |
<type>-</type>
|
|
|
351 |
<length>3</length>
|
|
|
352 |
<precision>-2</precision>
|
|
|
353 |
<conversion_mask/>
|
|
|
354 |
<date_format_lenient>false</date_format_lenient>
|
|
|
355 |
<encoding/>
|
|
|
356 |
<decimal_symbol/>
|
|
|
357 |
<grouping_symbol/>
|
|
|
358 |
<currency_symbol/>
|
|
|
359 |
<storage_type/>
|
|
|
360 |
</meta> <meta> <name>itemId</name>
|
|
|
361 |
<rename>itemId</rename>
|
|
|
362 |
<type>-</type>
|
|
|
363 |
<length>15</length>
|
|
|
364 |
<precision>0</precision>
|
|
|
365 |
<conversion_mask/>
|
|
|
366 |
<date_format_lenient>false</date_format_lenient>
|
|
|
367 |
<encoding/>
|
|
|
368 |
<decimal_symbol/>
|
|
|
369 |
<grouping_symbol/>
|
|
|
370 |
<currency_symbol/>
|
|
|
371 |
<storage_type/>
|
|
|
372 |
</meta> <meta> <name>quantity</name>
|
|
|
373 |
<rename>quantity</rename>
|
|
|
374 |
<type>Number</type>
|
|
|
375 |
<length>15</length>
|
|
|
376 |
<precision>0</precision>
|
|
|
377 |
<conversion_mask/>
|
|
|
378 |
<date_format_lenient>false</date_format_lenient>
|
|
|
379 |
<encoding/>
|
|
|
380 |
<decimal_symbol/>
|
|
|
381 |
<grouping_symbol/>
|
|
|
382 |
<currency_symbol/>
|
|
|
383 |
<storage_type/>
|
|
|
384 |
</meta> <meta> <name>status</name>
|
|
|
385 |
<rename>status</rename>
|
|
|
386 |
<type>-</type>
|
|
|
387 |
<length>9</length>
|
|
|
388 |
<precision>0</precision>
|
|
|
389 |
<conversion_mask/>
|
|
|
390 |
<date_format_lenient>false</date_format_lenient>
|
|
|
391 |
<encoding/>
|
|
|
392 |
<decimal_symbol/>
|
|
|
393 |
<grouping_symbol/>
|
|
|
394 |
<currency_symbol/>
|
|
|
395 |
<storage_type/>
|
|
|
396 |
</meta> <meta> <name>firstOrderType</name>
|
|
|
397 |
<rename>firstOrderType</rename>
|
|
|
398 |
<type>-</type>
|
|
|
399 |
<length>15</length>
|
|
|
400 |
<precision>0</precision>
|
|
|
401 |
<conversion_mask/>
|
|
|
402 |
<date_format_lenient>false</date_format_lenient>
|
|
|
403 |
<encoding/>
|
|
|
404 |
<decimal_symbol/>
|
|
|
405 |
<grouping_symbol/>
|
|
|
406 |
<currency_symbol/>
|
|
|
407 |
<storage_type/>
|
|
|
408 |
</meta> <meta> <name>firstOrderDate</name>
|
|
|
409 |
<rename>firstOrderDate</rename>
|
|
|
410 |
<type>-</type>
|
|
|
411 |
<length>15</length>
|
|
|
412 |
<precision>0</precision>
|
|
|
413 |
<conversion_mask/>
|
|
|
414 |
<date_format_lenient>false</date_format_lenient>
|
|
|
415 |
<encoding/>
|
|
|
416 |
<decimal_symbol/>
|
|
|
417 |
<grouping_symbol/>
|
|
|
418 |
<currency_symbol/>
|
|
|
419 |
<storage_type/>
|
| 6541 |
anupam.sin |
420 |
</meta> </fields> <cluster_schema/>
|
|
|
421 |
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
|
|
|
422 |
<xloc>316</xloc>
|
|
|
423 |
<yloc>278</yloc>
|
|
|
424 |
<draw>Y</draw>
|
|
|
425 |
</GUI>
|
|
|
426 |
</step>
|
|
|
427 |
|
|
|
428 |
<step>
|
|
|
429 |
<name>Sort rows</name>
|
|
|
430 |
<type>SortRows</type>
|
|
|
431 |
<description/>
|
|
|
432 |
<distribute>Y</distribute>
|
|
|
433 |
<copies>1</copies>
|
|
|
434 |
<partitioning>
|
|
|
435 |
<method>none</method>
|
|
|
436 |
<schema_name/>
|
|
|
437 |
</partitioning>
|
|
|
438 |
<directory>%%java.io.tmpdir%%</directory>
|
|
|
439 |
<prefix>out</prefix>
|
|
|
440 |
<sort_size>1000000</sort_size>
|
|
|
441 |
<free_memory>25</free_memory>
|
|
|
442 |
<compress>N</compress>
|
|
|
443 |
<compress_variable/>
|
|
|
444 |
<unique_rows>N</unique_rows>
|
|
|
445 |
<fields>
|
|
|
446 |
<field>
|
|
|
447 |
<name>userId</name>
|
|
|
448 |
<ascending>Y</ascending>
|
|
|
449 |
<case_sensitive>N</case_sensitive>
|
|
|
450 |
</field>
|
|
|
451 |
</fields>
|
|
|
452 |
<cluster_schema/>
|
|
|
453 |
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
|
|
|
454 |
<xloc>566</xloc>
|
|
|
455 |
<yloc>209</yloc>
|
|
|
456 |
<draw>Y</draw>
|
|
|
457 |
</GUI>
|
|
|
458 |
</step>
|
|
|
459 |
|
|
|
460 |
<step>
|
|
|
461 |
<name>Table output</name>
|
|
|
462 |
<type>TableOutput</type>
|
|
|
463 |
<description/>
|
|
|
464 |
<distribute>Y</distribute>
|
|
|
465 |
<copies>1</copies>
|
|
|
466 |
<partitioning>
|
|
|
467 |
<method>none</method>
|
|
|
468 |
<schema_name/>
|
|
|
469 |
</partitioning>
|
|
|
470 |
<connection>sales_local</connection>
|
|
|
471 |
<schema>sales</schema>
|
|
|
472 |
<table>commonorders</table>
|
|
|
473 |
<commit>1000</commit>
|
|
|
474 |
<truncate>Y</truncate>
|
|
|
475 |
<ignore_errors>N</ignore_errors>
|
|
|
476 |
<use_batch>Y</use_batch>
|
|
|
477 |
<specify_fields>N</specify_fields>
|
|
|
478 |
<partitioning_enabled>N</partitioning_enabled>
|
|
|
479 |
<partitioning_field/>
|
|
|
480 |
<partitioning_daily>N</partitioning_daily>
|
|
|
481 |
<partitioning_monthly>Y</partitioning_monthly>
|
|
|
482 |
<tablename_in_field>N</tablename_in_field>
|
|
|
483 |
<tablename_field/>
|
|
|
484 |
<tablename_in_table>Y</tablename_in_table>
|
|
|
485 |
<return_keys>N</return_keys>
|
|
|
486 |
<return_field/>
|
|
|
487 |
<fields>
|
|
|
488 |
<field>
|
|
|
489 |
<column_name>userId</column_name>
|
|
|
490 |
<stream_name>userId</stream_name>
|
|
|
491 |
</field>
|
|
|
492 |
<field>
|
|
|
493 |
<column_name>amount</column_name>
|
|
|
494 |
<stream_name>amount</stream_name>
|
|
|
495 |
</field>
|
|
|
496 |
<field>
|
|
|
497 |
<column_name>orderId</column_name>
|
|
|
498 |
<stream_name>orderId</stream_name>
|
|
|
499 |
</field>
|
|
|
500 |
<field>
|
|
|
501 |
<column_name>dateId</column_name>
|
|
|
502 |
<stream_name>dateId</stream_name>
|
|
|
503 |
</field>
|
|
|
504 |
<field>
|
| 6547 |
anupam.sin |
505 |
<column_name>orderType</column_name>
|
|
|
506 |
<stream_name>orderType</stream_name>
|
| 6541 |
anupam.sin |
507 |
</field>
|
| 6547 |
anupam.sin |
508 |
<field>
|
|
|
509 |
<column_name>repeatType</column_name>
|
|
|
510 |
<stream_name>repeatType</stream_name>
|
|
|
511 |
</field>
|
|
|
512 |
<field>
|
|
|
513 |
<column_name>repeatFrequency</column_name>
|
|
|
514 |
<stream_name>repeatFrequency</stream_name>
|
|
|
515 |
</field>
|
|
|
516 |
<field>
|
|
|
517 |
<column_name>transactionId</column_name>
|
|
|
518 |
<stream_name>transactionId</stream_name>
|
|
|
519 |
</field>
|
|
|
520 |
<field>
|
|
|
521 |
<column_name>transferPrice</column_name>
|
|
|
522 |
<stream_name>transferPrice</stream_name>
|
|
|
523 |
</field>
|
|
|
524 |
<field>
|
|
|
525 |
<column_name>pincode</column_name>
|
|
|
526 |
<stream_name>pincode</stream_name>
|
|
|
527 |
</field>
|
|
|
528 |
<field>
|
|
|
529 |
<column_name>itemId</column_name>
|
|
|
530 |
<stream_name>itemId</stream_name>
|
|
|
531 |
</field>
|
|
|
532 |
<field>
|
|
|
533 |
<column_name>quantity</column_name>
|
|
|
534 |
<stream_name>quantity</stream_name>
|
|
|
535 |
</field>
|
|
|
536 |
<field>
|
|
|
537 |
<column_name>status</column_name>
|
|
|
538 |
<stream_name>status</stream_name>
|
|
|
539 |
</field>
|
|
|
540 |
<field>
|
|
|
541 |
<column_name>firstOrderType</column_name>
|
|
|
542 |
<stream_name>firstOrderType</stream_name>
|
|
|
543 |
</field>
|
|
|
544 |
<field>
|
|
|
545 |
<column_name>firstOrderDate</column_name>
|
|
|
546 |
<stream_name>firstOrderDate</stream_name>
|
|
|
547 |
</field>
|
| 6541 |
anupam.sin |
548 |
</fields>
|
|
|
549 |
<cluster_schema/>
|
|
|
550 |
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
|
|
|
551 |
<xloc>715</xloc>
|
|
|
552 |
<yloc>209</yloc>
|
|
|
553 |
<draw>Y</draw>
|
|
|
554 |
</GUI>
|
|
|
555 |
</step>
|
|
|
556 |
|
|
|
557 |
<step_error_handling>
|
|
|
558 |
</step_error_handling>
|
|
|
559 |
<slave-step-copy-partition-distribution>
|
|
|
560 |
</slave-step-copy-partition-distribution>
|
|
|
561 |
<slave_transformation>N</slave_transformation>
|
|
|
562 |
</transformation>
|