info_message.ktr 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <transformation>
  3. <info>
  4. <name>info_message</name>
  5. <description/>
  6. <extended_description/>
  7. <trans_version/>
  8. <trans_type>Normal</trans_type>
  9. <trans_status>0</trans_status>
  10. <directory>/</directory>
  11. <parameters>
  12. <parameter>
  13. <name>input_db_ip</name>
  14. <default_value>172.17.0.1</default_value>
  15. <description/>
  16. </parameter>
  17. <parameter>
  18. <name>input_db_port</name>
  19. <default_value>27017</default_value>
  20. <description/>
  21. </parameter>
  22. <parameter>
  23. <name>out_db_ip</name>
  24. <default_value>172.17.0.1</default_value>
  25. <description/>
  26. </parameter>
  27. <parameter>
  28. <name>out_db_name</name>
  29. <default_value>ry</default_value>
  30. <description/>
  31. </parameter>
  32. <parameter>
  33. <name>out_db_port</name>
  34. <default_value>3306</default_value>
  35. <description/>
  36. </parameter>
  37. <parameter>
  38. <name>out_db_pwd</name>
  39. <default_value>sckjadmin</default_value>
  40. <description/>
  41. </parameter>
  42. <parameter>
  43. <name>out_db_username</name>
  44. <default_value>root</default_value>
  45. <description/>
  46. </parameter>
  47. </parameters>
  48. <log>
  49. <trans-log-table>
  50. <connection/>
  51. <schema/>
  52. <table/>
  53. <size_limit_lines/>
  54. <interval/>
  55. <timeout_days/>
  56. <field>
  57. <id>ID_BATCH</id>
  58. <enabled>Y</enabled>
  59. <name>ID_BATCH</name>
  60. </field>
  61. <field>
  62. <id>CHANNEL_ID</id>
  63. <enabled>Y</enabled>
  64. <name>CHANNEL_ID</name>
  65. </field>
  66. <field>
  67. <id>TRANSNAME</id>
  68. <enabled>Y</enabled>
  69. <name>TRANSNAME</name>
  70. </field>
  71. <field>
  72. <id>STATUS</id>
  73. <enabled>Y</enabled>
  74. <name>STATUS</name>
  75. </field>
  76. <field>
  77. <id>LINES_READ</id>
  78. <enabled>Y</enabled>
  79. <name>LINES_READ</name>
  80. <subject/>
  81. </field>
  82. <field>
  83. <id>LINES_WRITTEN</id>
  84. <enabled>Y</enabled>
  85. <name>LINES_WRITTEN</name>
  86. <subject/>
  87. </field>
  88. <field>
  89. <id>LINES_UPDATED</id>
  90. <enabled>Y</enabled>
  91. <name>LINES_UPDATED</name>
  92. <subject/>
  93. </field>
  94. <field>
  95. <id>LINES_INPUT</id>
  96. <enabled>Y</enabled>
  97. <name>LINES_INPUT</name>
  98. <subject/>
  99. </field>
  100. <field>
  101. <id>LINES_OUTPUT</id>
  102. <enabled>Y</enabled>
  103. <name>LINES_OUTPUT</name>
  104. <subject/>
  105. </field>
  106. <field>
  107. <id>LINES_REJECTED</id>
  108. <enabled>Y</enabled>
  109. <name>LINES_REJECTED</name>
  110. <subject/>
  111. </field>
  112. <field>
  113. <id>ERRORS</id>
  114. <enabled>Y</enabled>
  115. <name>ERRORS</name>
  116. </field>
  117. <field>
  118. <id>STARTDATE</id>
  119. <enabled>Y</enabled>
  120. <name>STARTDATE</name>
  121. </field>
  122. <field>
  123. <id>ENDDATE</id>
  124. <enabled>Y</enabled>
  125. <name>ENDDATE</name>
  126. </field>
  127. <field>
  128. <id>LOGDATE</id>
  129. <enabled>Y</enabled>
  130. <name>LOGDATE</name>
  131. </field>
  132. <field>
  133. <id>DEPDATE</id>
  134. <enabled>Y</enabled>
  135. <name>DEPDATE</name>
  136. </field>
  137. <field>
  138. <id>REPLAYDATE</id>
  139. <enabled>Y</enabled>
  140. <name>REPLAYDATE</name>
  141. </field>
  142. <field>
  143. <id>LOG_FIELD</id>
  144. <enabled>Y</enabled>
  145. <name>LOG_FIELD</name>
  146. </field>
  147. <field>
  148. <id>EXECUTING_SERVER</id>
  149. <enabled>N</enabled>
  150. <name>EXECUTING_SERVER</name>
  151. </field>
  152. <field>
  153. <id>EXECUTING_USER</id>
  154. <enabled>N</enabled>
  155. <name>EXECUTING_USER</name>
  156. </field>
  157. <field>
  158. <id>CLIENT</id>
  159. <enabled>N</enabled>
  160. <name>CLIENT</name>
  161. </field>
  162. </trans-log-table>
  163. <perf-log-table>
  164. <connection/>
  165. <schema/>
  166. <table/>
  167. <interval/>
  168. <timeout_days/>
  169. <field>
  170. <id>ID_BATCH</id>
  171. <enabled>Y</enabled>
  172. <name>ID_BATCH</name>
  173. </field>
  174. <field>
  175. <id>SEQ_NR</id>
  176. <enabled>Y</enabled>
  177. <name>SEQ_NR</name>
  178. </field>
  179. <field>
  180. <id>LOGDATE</id>
  181. <enabled>Y</enabled>
  182. <name>LOGDATE</name>
  183. </field>
  184. <field>
  185. <id>TRANSNAME</id>
  186. <enabled>Y</enabled>
  187. <name>TRANSNAME</name>
  188. </field>
  189. <field>
  190. <id>STEPNAME</id>
  191. <enabled>Y</enabled>
  192. <name>STEPNAME</name>
  193. </field>
  194. <field>
  195. <id>STEP_COPY</id>
  196. <enabled>Y</enabled>
  197. <name>STEP_COPY</name>
  198. </field>
  199. <field>
  200. <id>LINES_READ</id>
  201. <enabled>Y</enabled>
  202. <name>LINES_READ</name>
  203. </field>
  204. <field>
  205. <id>LINES_WRITTEN</id>
  206. <enabled>Y</enabled>
  207. <name>LINES_WRITTEN</name>
  208. </field>
  209. <field>
  210. <id>LINES_UPDATED</id>
  211. <enabled>Y</enabled>
  212. <name>LINES_UPDATED</name>
  213. </field>
  214. <field>
  215. <id>LINES_INPUT</id>
  216. <enabled>Y</enabled>
  217. <name>LINES_INPUT</name>
  218. </field>
  219. <field>
  220. <id>LINES_OUTPUT</id>
  221. <enabled>Y</enabled>
  222. <name>LINES_OUTPUT</name>
  223. </field>
  224. <field>
  225. <id>LINES_REJECTED</id>
  226. <enabled>Y</enabled>
  227. <name>LINES_REJECTED</name>
  228. </field>
  229. <field>
  230. <id>ERRORS</id>
  231. <enabled>Y</enabled>
  232. <name>ERRORS</name>
  233. </field>
  234. <field>
  235. <id>INPUT_BUFFER_ROWS</id>
  236. <enabled>Y</enabled>
  237. <name>INPUT_BUFFER_ROWS</name>
  238. </field>
  239. <field>
  240. <id>OUTPUT_BUFFER_ROWS</id>
  241. <enabled>Y</enabled>
  242. <name>OUTPUT_BUFFER_ROWS</name>
  243. </field>
  244. </perf-log-table>
  245. <channel-log-table>
  246. <connection/>
  247. <schema/>
  248. <table/>
  249. <timeout_days/>
  250. <field>
  251. <id>ID_BATCH</id>
  252. <enabled>Y</enabled>
  253. <name>ID_BATCH</name>
  254. </field>
  255. <field>
  256. <id>CHANNEL_ID</id>
  257. <enabled>Y</enabled>
  258. <name>CHANNEL_ID</name>
  259. </field>
  260. <field>
  261. <id>LOG_DATE</id>
  262. <enabled>Y</enabled>
  263. <name>LOG_DATE</name>
  264. </field>
  265. <field>
  266. <id>LOGGING_OBJECT_TYPE</id>
  267. <enabled>Y</enabled>
  268. <name>LOGGING_OBJECT_TYPE</name>
  269. </field>
  270. <field>
  271. <id>OBJECT_NAME</id>
  272. <enabled>Y</enabled>
  273. <name>OBJECT_NAME</name>
  274. </field>
  275. <field>
  276. <id>OBJECT_COPY</id>
  277. <enabled>Y</enabled>
  278. <name>OBJECT_COPY</name>
  279. </field>
  280. <field>
  281. <id>REPOSITORY_DIRECTORY</id>
  282. <enabled>Y</enabled>
  283. <name>REPOSITORY_DIRECTORY</name>
  284. </field>
  285. <field>
  286. <id>FILENAME</id>
  287. <enabled>Y</enabled>
  288. <name>FILENAME</name>
  289. </field>
  290. <field>
  291. <id>OBJECT_ID</id>
  292. <enabled>Y</enabled>
  293. <name>OBJECT_ID</name>
  294. </field>
  295. <field>
  296. <id>OBJECT_REVISION</id>
  297. <enabled>Y</enabled>
  298. <name>OBJECT_REVISION</name>
  299. </field>
  300. <field>
  301. <id>PARENT_CHANNEL_ID</id>
  302. <enabled>Y</enabled>
  303. <name>PARENT_CHANNEL_ID</name>
  304. </field>
  305. <field>
  306. <id>ROOT_CHANNEL_ID</id>
  307. <enabled>Y</enabled>
  308. <name>ROOT_CHANNEL_ID</name>
  309. </field>
  310. </channel-log-table>
  311. <step-log-table>
  312. <connection/>
  313. <schema/>
  314. <table/>
  315. <timeout_days/>
  316. <field>
  317. <id>ID_BATCH</id>
  318. <enabled>Y</enabled>
  319. <name>ID_BATCH</name>
  320. </field>
  321. <field>
  322. <id>CHANNEL_ID</id>
  323. <enabled>Y</enabled>
  324. <name>CHANNEL_ID</name>
  325. </field>
  326. <field>
  327. <id>LOG_DATE</id>
  328. <enabled>Y</enabled>
  329. <name>LOG_DATE</name>
  330. </field>
  331. <field>
  332. <id>TRANSNAME</id>
  333. <enabled>Y</enabled>
  334. <name>TRANSNAME</name>
  335. </field>
  336. <field>
  337. <id>STEPNAME</id>
  338. <enabled>Y</enabled>
  339. <name>STEPNAME</name>
  340. </field>
  341. <field>
  342. <id>STEP_COPY</id>
  343. <enabled>Y</enabled>
  344. <name>STEP_COPY</name>
  345. </field>
  346. <field>
  347. <id>LINES_READ</id>
  348. <enabled>Y</enabled>
  349. <name>LINES_READ</name>
  350. </field>
  351. <field>
  352. <id>LINES_WRITTEN</id>
  353. <enabled>Y</enabled>
  354. <name>LINES_WRITTEN</name>
  355. </field>
  356. <field>
  357. <id>LINES_UPDATED</id>
  358. <enabled>Y</enabled>
  359. <name>LINES_UPDATED</name>
  360. </field>
  361. <field>
  362. <id>LINES_INPUT</id>
  363. <enabled>Y</enabled>
  364. <name>LINES_INPUT</name>
  365. </field>
  366. <field>
  367. <id>LINES_OUTPUT</id>
  368. <enabled>Y</enabled>
  369. <name>LINES_OUTPUT</name>
  370. </field>
  371. <field>
  372. <id>LINES_REJECTED</id>
  373. <enabled>Y</enabled>
  374. <name>LINES_REJECTED</name>
  375. </field>
  376. <field>
  377. <id>ERRORS</id>
  378. <enabled>Y</enabled>
  379. <name>ERRORS</name>
  380. </field>
  381. <field>
  382. <id>LOG_FIELD</id>
  383. <enabled>N</enabled>
  384. <name>LOG_FIELD</name>
  385. </field>
  386. </step-log-table>
  387. <metrics-log-table>
  388. <connection/>
  389. <schema/>
  390. <table/>
  391. <timeout_days/>
  392. <field>
  393. <id>ID_BATCH</id>
  394. <enabled>Y</enabled>
  395. <name>ID_BATCH</name>
  396. </field>
  397. <field>
  398. <id>CHANNEL_ID</id>
  399. <enabled>Y</enabled>
  400. <name>CHANNEL_ID</name>
  401. </field>
  402. <field>
  403. <id>LOG_DATE</id>
  404. <enabled>Y</enabled>
  405. <name>LOG_DATE</name>
  406. </field>
  407. <field>
  408. <id>METRICS_DATE</id>
  409. <enabled>Y</enabled>
  410. <name>METRICS_DATE</name>
  411. </field>
  412. <field>
  413. <id>METRICS_CODE</id>
  414. <enabled>Y</enabled>
  415. <name>METRICS_CODE</name>
  416. </field>
  417. <field>
  418. <id>METRICS_DESCRIPTION</id>
  419. <enabled>Y</enabled>
  420. <name>METRICS_DESCRIPTION</name>
  421. </field>
  422. <field>
  423. <id>METRICS_SUBJECT</id>
  424. <enabled>Y</enabled>
  425. <name>METRICS_SUBJECT</name>
  426. </field>
  427. <field>
  428. <id>METRICS_TYPE</id>
  429. <enabled>Y</enabled>
  430. <name>METRICS_TYPE</name>
  431. </field>
  432. <field>
  433. <id>METRICS_VALUE</id>
  434. <enabled>Y</enabled>
  435. <name>METRICS_VALUE</name>
  436. </field>
  437. </metrics-log-table>
  438. </log>
  439. <maxdate>
  440. <connection/>
  441. <table/>
  442. <field/>
  443. <offset>0.0</offset>
  444. <maxdiff>0.0</maxdiff>
  445. </maxdate>
  446. <size_rowset>100000</size_rowset>
  447. <sleep_time_empty>50</sleep_time_empty>
  448. <sleep_time_full>50</sleep_time_full>
  449. <unique_connections>N</unique_connections>
  450. <feedback_shown>Y</feedback_shown>
  451. <feedback_size>50000</feedback_size>
  452. <using_thread_priorities>Y</using_thread_priorities>
  453. <shared_objects_file/>
  454. <capture_step_performance>N</capture_step_performance>
  455. <step_performance_capturing_delay>1000</step_performance_capturing_delay>
  456. <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit>
  457. <dependencies>
  458. </dependencies>
  459. <partitionschemas>
  460. </partitionschemas>
  461. <slaveservers>
  462. </slaveservers>
  463. <clusterschemas>
  464. </clusterschemas>
  465. <created_user>-</created_user>
  466. <created_date>2020/07/28 20:03:36.581</created_date>
  467. <modified_user>-</modified_user>
  468. <modified_date>2020/07/28 20:03:36.581</modified_date>
  469. <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key>
  470. <is_key_private>N</is_key_private>
  471. </info>
  472. <notepads>
  473. </notepads>
  474. <connection>
  475. <name>ry_info</name>
  476. <server>${out_db_ip}</server>
  477. <type>MYSQL</type>
  478. <access>Native</access>
  479. <database>${out_db_name}</database>
  480. <port>${out_db_port}</port>
  481. <username>${out_db_username}</username>
  482. <password>${out_db_pwd}</password>
  483. <servername/>
  484. <data_tablespace/>
  485. <index_tablespace/>
  486. <attributes>
  487. <attribute>
  488. <code>EXTRA_OPTION_MYSQL.characterEncoding</code>
  489. <attribute>UTF-8</attribute>
  490. </attribute>
  491. <attribute>
  492. <code>EXTRA_OPTION_MYSQL.defaultFetchSize</code>
  493. <attribute>500</attribute>
  494. </attribute>
  495. <attribute>
  496. <code>EXTRA_OPTION_MYSQL.useCursorFetch</code>
  497. <attribute>true</attribute>
  498. </attribute>
  499. <attribute>
  500. <code>FORCE_IDENTIFIERS_TO_LOWERCASE</code>
  501. <attribute>N</attribute>
  502. </attribute>
  503. <attribute>
  504. <code>FORCE_IDENTIFIERS_TO_UPPERCASE</code>
  505. <attribute>N</attribute>
  506. </attribute>
  507. <attribute>
  508. <code>IS_CLUSTERED</code>
  509. <attribute>N</attribute>
  510. </attribute>
  511. <attribute>
  512. <code>PORT_NUMBER</code>
  513. <attribute>${out_db_port}</attribute>
  514. </attribute>
  515. <attribute>
  516. <code>PRESERVE_RESERVED_WORD_CASE</code>
  517. <attribute>Y</attribute>
  518. </attribute>
  519. <attribute>
  520. <code>QUOTE_ALL_FIELDS</code>
  521. <attribute>N</attribute>
  522. </attribute>
  523. <attribute>
  524. <code>STREAM_RESULTS</code>
  525. <attribute>Y</attribute>
  526. </attribute>
  527. <attribute>
  528. <code>SUPPORTS_BOOLEAN_DATA_TYPE</code>
  529. <attribute>Y</attribute>
  530. </attribute>
  531. <attribute>
  532. <code>SUPPORTS_TIMESTAMP_DATA_TYPE</code>
  533. <attribute>Y</attribute>
  534. </attribute>
  535. <attribute>
  536. <code>USE_POOLING</code>
  537. <attribute>N</attribute>
  538. </attribute>
  539. </attributes>
  540. </connection>
  541. <order>
  542. <hop>
  543. <from>MongoDB input</from>
  544. <to>表输出</to>
  545. <enabled>Y</enabled>
  546. </hop>
  547. <hop>
  548. <from>MongoDB input</from>
  549. <to>插入 / 更新</to>
  550. <enabled>N</enabled>
  551. </hop>
  552. </order>
  553. <step>
  554. <name>MongoDB input</name>
  555. <type>MongoDbInput</type>
  556. <description/>
  557. <distribute>Y</distribute>
  558. <custom_distribution/>
  559. <copies>1</copies>
  560. <partitioning>
  561. <method>none</method>
  562. <schema_name/>
  563. </partitioning>
  564. <hostname>${input_db_ip}</hostname>
  565. <port>${input_db_port}</port>
  566. <use_all_replica_members>N</use_all_replica_members>
  567. <db_name>info_admin</db_name>
  568. <fields_name/>
  569. <collection>value</collection>
  570. <json_field_name>json</json_field_name>
  571. <json_query> { $sort: { time: -1 } },{ $lookup: { from: 'info', localField: 'infoId', foreignField: '_id', as: 'info' } },
  572. { $unwind: { path: '$info', preserveNullAndEmptyArrays: true } },
  573. { $lookup: { from: 'sys_dept', localField: 'dept2', foreignField: '_id', as: 'deptName2' } },
  574. { $unwind: { path: '$deptName2', preserveNullAndEmptyArrays: true } },
  575. { $lookup: { from: 'sys_dept', localField: 'dept3', foreignField: '_id', as: 'deptName3' } },
  576. { $unwind: { path: '$deptName3', preserveNullAndEmptyArrays: true } },
  577. { $project: {
  578. dept1:1,dept2:1,dept3:1,dept4:1,dept5:1,deptName2:'$deptName2.name',deptName3:'$deptName3.name',infoName:'$info.name',type:1,
  579. date: { $dateToString: { format: "%Y-%m-%d", date: "$time" } },
  580. time: { $dateToString: { format: "%H:%M", date: "$time", timezone: '+08:00' } },
  581. yuanType: '$info.oldType',
  582. 'oldType.type': {
  583. $slice: ['$info.oldType', 1]
  584. },
  585. } },
  586. { $unwind: { path: '$oldType.type', preserveNullAndEmptyArrays: true } },
  587. {
  588. $project: {
  589. dept1:1,dept2:1,dept3:1,dept4:1,dept5:1,yuanType:1,
  590. date: 1,
  591. time: 1,
  592. oldType: {$toString: '$oldType.type'},
  593. address: {
  594. $concat: [ '$deptName2', '$deptName3',
  595. {$toString: '$oldType.type'},
  596. '$infoName',
  597. {$cond: { if: { $eq: [ '$type', "0" ] },then:
  598. "采集数据管理员审核完成", else: "探访完成",
  599. },}
  600. ] },
  601. },},
  602. { $limit: 100 },</json_query>
  603. <auth_database/>
  604. <auth_user/>
  605. <auth_password>Encrypted </auth_password>
  606. <auth_mech/>
  607. <auth_kerberos>N</auth_kerberos>
  608. <connect_timeout/>
  609. <socket_timeout/>
  610. <use_ssl_socket_factory>N</use_ssl_socket_factory>
  611. <read_preference>primary</read_preference>
  612. <output_json>N</output_json>
  613. <query_is_pipeline>Y</query_is_pipeline>
  614. <execute_for_each_row>N</execute_for_each_row>
  615. <mongo_fields>
  616. <mongo_field>
  617. <field_name>_id</field_name>
  618. <field_path>$._id</field_path>
  619. <field_type>String</field_type>
  620. </mongo_field>
  621. <mongo_field>
  622. <field_name>address</field_name>
  623. <field_path>$.address</field_path>
  624. <field_type>String</field_type>
  625. </mongo_field>
  626. <mongo_field>
  627. <field_name>time</field_name>
  628. <field_path>$.time</field_path>
  629. <field_type>String</field_type>
  630. </mongo_field>
  631. <mongo_field>
  632. <field_name>date</field_name>
  633. <field_path>$.date</field_path>
  634. <field_type>String</field_type>
  635. </mongo_field>
  636. <mongo_field>
  637. <field_name>dept5</field_name>
  638. <field_path>$.dept5</field_path>
  639. <field_type>String</field_type>
  640. </mongo_field>
  641. <mongo_field>
  642. <field_name>dept1</field_name>
  643. <field_path>$.dept1</field_path>
  644. <field_type>String</field_type>
  645. </mongo_field>
  646. <mongo_field>
  647. <field_name>dept2</field_name>
  648. <field_path>$.dept2</field_path>
  649. <field_type>String</field_type>
  650. </mongo_field>
  651. <mongo_field>
  652. <field_name>dept3</field_name>
  653. <field_path>$.dept3</field_path>
  654. <field_type>String</field_type>
  655. </mongo_field>
  656. <mongo_field>
  657. <field_name>dept4</field_name>
  658. <field_path>$.dept4</field_path>
  659. <field_type>String</field_type>
  660. </mongo_field>
  661. </mongo_fields>
  662. <attributes/>
  663. <cluster_schema/>
  664. <remotesteps>
  665. <input>
  666. </input>
  667. <output>
  668. </output>
  669. </remotesteps>
  670. <GUI>
  671. <xloc>208</xloc>
  672. <yloc>272</yloc>
  673. <draw>Y</draw>
  674. </GUI>
  675. </step>
  676. <step>
  677. <name>插入 / 更新</name>
  678. <type>InsertUpdate</type>
  679. <description/>
  680. <distribute>Y</distribute>
  681. <custom_distribution/>
  682. <copies>1</copies>
  683. <partitioning>
  684. <method>none</method>
  685. <schema_name/>
  686. </partitioning>
  687. <connection>ry_info</connection>
  688. <commit>100</commit>
  689. <update_bypassed>N</update_bypassed>
  690. <lookup>
  691. <schema>ry</schema>
  692. <table>info_message</table>
  693. <key>
  694. <name>_id</name>
  695. <field>infoId</field>
  696. <condition>=</condition>
  697. <name2/>
  698. </key>
  699. <value>
  700. <name>infoId</name>
  701. <rename>_id</rename>
  702. <update>Y</update>
  703. </value>
  704. <value>
  705. <name>address</name>
  706. <rename>address</rename>
  707. <update>Y</update>
  708. </value>
  709. <value>
  710. <name>time</name>
  711. <rename>time</rename>
  712. <update>Y</update>
  713. </value>
  714. <value>
  715. <name>data</name>
  716. <rename>date</rename>
  717. <update>Y</update>
  718. </value>
  719. <value>
  720. <name>dept5</name>
  721. <rename>dept5</rename>
  722. <update>Y</update>
  723. </value>
  724. <value>
  725. <name>dept1</name>
  726. <rename>dept1</rename>
  727. <update>Y</update>
  728. </value>
  729. <value>
  730. <name>dept2</name>
  731. <rename>dept2</rename>
  732. <update>Y</update>
  733. </value>
  734. <value>
  735. <name>dept3</name>
  736. <rename>dept3</rename>
  737. <update>Y</update>
  738. </value>
  739. <value>
  740. <name>dept4</name>
  741. <rename>dept4</rename>
  742. <update>Y</update>
  743. </value>
  744. </lookup>
  745. <attributes/>
  746. <cluster_schema/>
  747. <remotesteps>
  748. <input>
  749. </input>
  750. <output>
  751. </output>
  752. </remotesteps>
  753. <GUI>
  754. <xloc>544</xloc>
  755. <yloc>304</yloc>
  756. <draw>Y</draw>
  757. </GUI>
  758. </step>
  759. <step>
  760. <name>表输出</name>
  761. <type>TableOutput</type>
  762. <description/>
  763. <distribute>Y</distribute>
  764. <custom_distribution/>
  765. <copies>1</copies>
  766. <partitioning>
  767. <method>none</method>
  768. <schema_name/>
  769. </partitioning>
  770. <connection>ry_info</connection>
  771. <schema>ry</schema>
  772. <table>info_message</table>
  773. <commit>10000</commit>
  774. <truncate>Y</truncate>
  775. <ignore_errors>N</ignore_errors>
  776. <use_batch>Y</use_batch>
  777. <specify_fields>Y</specify_fields>
  778. <partitioning_enabled>N</partitioning_enabled>
  779. <partitioning_field/>
  780. <partitioning_daily>N</partitioning_daily>
  781. <partitioning_monthly>Y</partitioning_monthly>
  782. <tablename_in_field>N</tablename_in_field>
  783. <tablename_field/>
  784. <tablename_in_table>Y</tablename_in_table>
  785. <return_keys>N</return_keys>
  786. <return_field/>
  787. <fields>
  788. <field>
  789. <column_name>address</column_name>
  790. <stream_name>address</stream_name>
  791. </field>
  792. <field>
  793. <column_name>time</column_name>
  794. <stream_name>time</stream_name>
  795. </field>
  796. <field>
  797. <column_name>data</column_name>
  798. <stream_name>date</stream_name>
  799. </field>
  800. <field>
  801. <column_name>dept5</column_name>
  802. <stream_name>dept5</stream_name>
  803. </field>
  804. <field>
  805. <column_name>dept1</column_name>
  806. <stream_name>dept1</stream_name>
  807. </field>
  808. <field>
  809. <column_name>dept2</column_name>
  810. <stream_name>dept2</stream_name>
  811. </field>
  812. <field>
  813. <column_name>dept3</column_name>
  814. <stream_name>dept3</stream_name>
  815. </field>
  816. <field>
  817. <column_name>dept4</column_name>
  818. <stream_name>dept4</stream_name>
  819. </field>
  820. <field>
  821. <column_name>infoId</column_name>
  822. <stream_name>_id</stream_name>
  823. </field>
  824. </fields>
  825. <attributes/>
  826. <cluster_schema/>
  827. <remotesteps>
  828. <input>
  829. </input>
  830. <output>
  831. </output>
  832. </remotesteps>
  833. <GUI>
  834. <xloc>496</xloc>
  835. <yloc>240</yloc>
  836. <draw>Y</draw>
  837. </GUI>
  838. </step>
  839. <step_error_handling>
  840. </step_error_handling>
  841. <slave-step-copy-partition-distribution>
  842. </slave-step-copy-partition-distribution>
  843. <slave_transformation>N</slave_transformation>
  844. <attributes/>
  845. </transformation>