user.ktr 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <transformation>
  3. <info>
  4. <name>user</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/21 14:19:28.353</created_date>
  467. <modified_user>-</modified_user>
  468. <modified_date>2020/07/21 14:19:28.353</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>user</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.rewriteBatchedStatements </code>
  497. <attribute>true</attribute>
  498. </attribute>
  499. <attribute>
  500. <code>EXTRA_OPTION_MYSQL.useCompression </code>
  501. <attribute>true</attribute>
  502. </attribute>
  503. <attribute>
  504. <code>EXTRA_OPTION_MYSQL.useCursorFetch</code>
  505. <attribute>true</attribute>
  506. </attribute>
  507. <attribute>
  508. <code>EXTRA_OPTION_MYSQL.useServerPrepStmts </code>
  509. <attribute>false</attribute>
  510. </attribute>
  511. <attribute>
  512. <code>FORCE_IDENTIFIERS_TO_LOWERCASE</code>
  513. <attribute>N</attribute>
  514. </attribute>
  515. <attribute>
  516. <code>FORCE_IDENTIFIERS_TO_UPPERCASE</code>
  517. <attribute>N</attribute>
  518. </attribute>
  519. <attribute>
  520. <code>IS_CLUSTERED</code>
  521. <attribute>N</attribute>
  522. </attribute>
  523. <attribute>
  524. <code>PORT_NUMBER</code>
  525. <attribute>${out_db_port}</attribute>
  526. </attribute>
  527. <attribute>
  528. <code>PRESERVE_RESERVED_WORD_CASE</code>
  529. <attribute>Y</attribute>
  530. </attribute>
  531. <attribute>
  532. <code>QUOTE_ALL_FIELDS</code>
  533. <attribute>N</attribute>
  534. </attribute>
  535. <attribute>
  536. <code>STREAM_RESULTS</code>
  537. <attribute>Y</attribute>
  538. </attribute>
  539. <attribute>
  540. <code>SUPPORTS_BOOLEAN_DATA_TYPE</code>
  541. <attribute>Y</attribute>
  542. </attribute>
  543. <attribute>
  544. <code>SUPPORTS_TIMESTAMP_DATA_TYPE</code>
  545. <attribute>Y</attribute>
  546. </attribute>
  547. <attribute>
  548. <code>USE_POOLING</code>
  549. <attribute>N</attribute>
  550. </attribute>
  551. </attributes>
  552. </connection>
  553. <order>
  554. <hop>
  555. <from>MongoDB input</from>
  556. <to>表输出</to>
  557. <enabled>N</enabled>
  558. </hop>
  559. <hop>
  560. <from>MongoDB input</from>
  561. <to>插入 / 更新</to>
  562. <enabled>Y</enabled>
  563. </hop>
  564. </order>
  565. <step>
  566. <name>MongoDB input</name>
  567. <type>MongoDbInput</type>
  568. <description/>
  569. <distribute>Y</distribute>
  570. <custom_distribution/>
  571. <copies>1</copies>
  572. <partitioning>
  573. <method>none</method>
  574. <schema_name/>
  575. </partitioning>
  576. <hostname>${input_db_ip}</hostname>
  577. <port>${input_db_port}</port>
  578. <use_all_replica_members>N</use_all_replica_members>
  579. <db_name>info_admin</db_name>
  580. <fields_name/>
  581. <collection>sys_user</collection>
  582. <json_field_name>json</json_field_name>
  583. <json_query> { $project: {
  584. _id: 1,
  585. dept1: {$toString: '$dept1'},
  586. dept2: '$dept2',
  587. dept3: '$dept3',
  588. dept4: '$dept4',
  589. dept5: '$dept5',
  590. loginName: '$loginName',
  591. userName: '$userName',
  592. sex: '$sex',
  593. politicalOutlook: '$politicalOutlook',
  594. role: {$toString: '$role'},
  595. job: '$job',
  596. authentication:{
  597. $cond: { if: { $ifNull: [ '$file', false ] }, then:
  598. { $cond:
  599. [{ $ne: [{ $ifNull: [ '$file', '' ] }, '' ] }, 0, 1 ],
  600. }, else: 1,
  601. },
  602. },
  603. } },
  604. { $match: {dept1 : "5d4289205ffc6694f7e42082","role" : "5d0c41046a0a730a44fe06b5"} },</json_query>
  605. <auth_database/>
  606. <auth_user/>
  607. <auth_password>Encrypted </auth_password>
  608. <auth_mech/>
  609. <auth_kerberos>N</auth_kerberos>
  610. <connect_timeout/>
  611. <socket_timeout/>
  612. <use_ssl_socket_factory>N</use_ssl_socket_factory>
  613. <read_preference>primary</read_preference>
  614. <output_json>N</output_json>
  615. <query_is_pipeline>Y</query_is_pipeline>
  616. <execute_for_each_row>N</execute_for_each_row>
  617. <mongo_fields>
  618. <mongo_field>
  619. <field_name>dept5</field_name>
  620. <field_path>$.dept5</field_path>
  621. <field_type>String</field_type>
  622. </mongo_field>
  623. <mongo_field>
  624. <field_name>role</field_name>
  625. <field_path>$.role</field_path>
  626. <field_type>String</field_type>
  627. </mongo_field>
  628. <mongo_field>
  629. <field_name>sex</field_name>
  630. <field_path>$.sex</field_path>
  631. <field_type>String</field_type>
  632. </mongo_field>
  633. <mongo_field>
  634. <field_name>userName</field_name>
  635. <field_path>$.userName</field_path>
  636. <field_type>String</field_type>
  637. </mongo_field>
  638. <mongo_field>
  639. <field_name>loginName</field_name>
  640. <field_path>$.loginName</field_path>
  641. <field_type>String</field_type>
  642. </mongo_field>
  643. <mongo_field>
  644. <field_name>_id</field_name>
  645. <field_path>$._id</field_path>
  646. <field_type>String</field_type>
  647. </mongo_field>
  648. <mongo_field>
  649. <field_name>politicalOutlook</field_name>
  650. <field_path>$.politicalOutlook</field_path>
  651. <field_type>String</field_type>
  652. </mongo_field>
  653. <mongo_field>
  654. <field_name>dept1</field_name>
  655. <field_path>$.dept1</field_path>
  656. <field_type>String</field_type>
  657. </mongo_field>
  658. <mongo_field>
  659. <field_name>job</field_name>
  660. <field_path>$.job</field_path>
  661. <field_type>String</field_type>
  662. </mongo_field>
  663. <mongo_field>
  664. <field_name>dept2</field_name>
  665. <field_path>$.dept2</field_path>
  666. <field_type>String</field_type>
  667. </mongo_field>
  668. <mongo_field>
  669. <field_name>dept3</field_name>
  670. <field_path>$.dept3</field_path>
  671. <field_type>String</field_type>
  672. </mongo_field>
  673. <mongo_field>
  674. <field_name>authentication</field_name>
  675. <field_path>$.authentication</field_path>
  676. <field_type>Integer</field_type>
  677. </mongo_field>
  678. <mongo_field>
  679. <field_name>dept4</field_name>
  680. <field_path>$.dept4</field_path>
  681. <field_type>String</field_type>
  682. </mongo_field>
  683. </mongo_fields>
  684. <attributes/>
  685. <cluster_schema/>
  686. <remotesteps>
  687. <input>
  688. </input>
  689. <output>
  690. </output>
  691. </remotesteps>
  692. <GUI>
  693. <xloc>160</xloc>
  694. <yloc>208</yloc>
  695. <draw>Y</draw>
  696. </GUI>
  697. </step>
  698. <step>
  699. <name>插入 / 更新</name>
  700. <type>InsertUpdate</type>
  701. <description/>
  702. <distribute>Y</distribute>
  703. <custom_distribution/>
  704. <copies>1</copies>
  705. <partitioning>
  706. <method>none</method>
  707. <schema_name/>
  708. </partitioning>
  709. <connection>user</connection>
  710. <commit>1000</commit>
  711. <update_bypassed>N</update_bypassed>
  712. <lookup>
  713. <schema>ry</schema>
  714. <table>user</table>
  715. <key>
  716. <name>_id</name>
  717. <field>userid</field>
  718. <condition>=</condition>
  719. <name2/>
  720. </key>
  721. <value>
  722. <name>dept5</name>
  723. <rename>dept5</rename>
  724. <update>Y</update>
  725. </value>
  726. <value>
  727. <name>role</name>
  728. <rename>role</rename>
  729. <update>Y</update>
  730. </value>
  731. <value>
  732. <name>sex</name>
  733. <rename>sex</rename>
  734. <update>Y</update>
  735. </value>
  736. <value>
  737. <name>userName</name>
  738. <rename>userName</rename>
  739. <update>Y</update>
  740. </value>
  741. <value>
  742. <name>loginName</name>
  743. <rename>loginName</rename>
  744. <update>Y</update>
  745. </value>
  746. <value>
  747. <name>userid</name>
  748. <rename>_id</rename>
  749. <update>Y</update>
  750. </value>
  751. <value>
  752. <name>politicalOutlook</name>
  753. <rename>politicalOutlook</rename>
  754. <update>Y</update>
  755. </value>
  756. <value>
  757. <name>dept1</name>
  758. <rename>dept1</rename>
  759. <update>Y</update>
  760. </value>
  761. <value>
  762. <name>job</name>
  763. <rename>job</rename>
  764. <update>Y</update>
  765. </value>
  766. <value>
  767. <name>dept2</name>
  768. <rename>dept2</rename>
  769. <update>Y</update>
  770. </value>
  771. <value>
  772. <name>dept3</name>
  773. <rename>dept3</rename>
  774. <update>Y</update>
  775. </value>
  776. <value>
  777. <name>authentication</name>
  778. <rename>authentication</rename>
  779. <update>Y</update>
  780. </value>
  781. <value>
  782. <name>dept4</name>
  783. <rename>dept4</rename>
  784. <update>Y</update>
  785. </value>
  786. </lookup>
  787. <attributes/>
  788. <cluster_schema/>
  789. <remotesteps>
  790. <input>
  791. </input>
  792. <output>
  793. </output>
  794. </remotesteps>
  795. <GUI>
  796. <xloc>416</xloc>
  797. <yloc>208</yloc>
  798. <draw>Y</draw>
  799. </GUI>
  800. </step>
  801. <step>
  802. <name>表输出</name>
  803. <type>TableOutput</type>
  804. <description/>
  805. <distribute>Y</distribute>
  806. <custom_distribution/>
  807. <copies>1</copies>
  808. <partitioning>
  809. <method>none</method>
  810. <schema_name/>
  811. </partitioning>
  812. <connection>user</connection>
  813. <schema>ry</schema>
  814. <table>user</table>
  815. <commit>16000</commit>
  816. <truncate>Y</truncate>
  817. <ignore_errors>N</ignore_errors>
  818. <use_batch>Y</use_batch>
  819. <specify_fields>Y</specify_fields>
  820. <partitioning_enabled>N</partitioning_enabled>
  821. <partitioning_field/>
  822. <partitioning_daily>N</partitioning_daily>
  823. <partitioning_monthly>Y</partitioning_monthly>
  824. <tablename_in_field>N</tablename_in_field>
  825. <tablename_field/>
  826. <tablename_in_table>Y</tablename_in_table>
  827. <return_keys>N</return_keys>
  828. <return_field/>
  829. <fields>
  830. <field>
  831. <column_name>dept5</column_name>
  832. <stream_name>dept5</stream_name>
  833. </field>
  834. <field>
  835. <column_name>role</column_name>
  836. <stream_name>role</stream_name>
  837. </field>
  838. <field>
  839. <column_name>sex</column_name>
  840. <stream_name>sex</stream_name>
  841. </field>
  842. <field>
  843. <column_name>userName</column_name>
  844. <stream_name>userName</stream_name>
  845. </field>
  846. <field>
  847. <column_name>loginName</column_name>
  848. <stream_name>loginName</stream_name>
  849. </field>
  850. <field>
  851. <column_name>userid</column_name>
  852. <stream_name>_id</stream_name>
  853. </field>
  854. <field>
  855. <column_name>politicalOutlook</column_name>
  856. <stream_name>politicalOutlook</stream_name>
  857. </field>
  858. <field>
  859. <column_name>dept1</column_name>
  860. <stream_name>dept1</stream_name>
  861. </field>
  862. <field>
  863. <column_name>job</column_name>
  864. <stream_name>job</stream_name>
  865. </field>
  866. <field>
  867. <column_name>dept2</column_name>
  868. <stream_name>dept2</stream_name>
  869. </field>
  870. <field>
  871. <column_name>dept3</column_name>
  872. <stream_name>dept3</stream_name>
  873. </field>
  874. <field>
  875. <column_name>authentication</column_name>
  876. <stream_name>authentication</stream_name>
  877. </field>
  878. <field>
  879. <column_name>dept4</column_name>
  880. <stream_name>dept4</stream_name>
  881. </field>
  882. </fields>
  883. <attributes/>
  884. <cluster_schema/>
  885. <remotesteps>
  886. <input>
  887. </input>
  888. <output>
  889. </output>
  890. </remotesteps>
  891. <GUI>
  892. <xloc>416</xloc>
  893. <yloc>80</yloc>
  894. <draw>Y</draw>
  895. </GUI>
  896. </step>
  897. <step_error_handling>
  898. </step_error_handling>
  899. <slave-step-copy-partition-distribution>
  900. </slave-step-copy-partition-distribution>
  901. <slave_transformation>N</slave_transformation>
  902. <attributes/>
  903. </transformation>