videoods.wx_video_detail.sql 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995
  1. -- Task: imp.wx_video_detail.wx_video_detail ID: 1000416082 Type: DI
  2. {
  3. "extend":{
  4. "mode":"wizard",
  5. "resourceGroup":"group_42901",
  6. "oneStopPageNum":2
  7. },
  8. "transform":false,
  9. "mappingRule":{
  10. "sourceType":"mysql",
  11. "targetType":"odps",
  12. "needDiff":true,
  13. "targetTableColumn":[
  14. {
  15. "name":"id",
  16. "comment":"",
  17. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  18. "type":"BIGINT"
  19. },
  20. {
  21. "name":"video_id",
  22. "comment":"",
  23. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  24. "type":"BIGINT"
  25. },
  26. {
  27. "name":"uid",
  28. "comment":"",
  29. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  30. "type":"BIGINT"
  31. },
  32. {
  33. "name":"gmt_create",
  34. "comment":"",
  35. "typeDetail":"{\"odpsType\":\"DATETIME\",\"typeName\":\"DATETIME\"}",
  36. "type":"DATETIME"
  37. },
  38. {
  39. "name":"app_type",
  40. "comment":"",
  41. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  42. "type":"BIGINT"
  43. },
  44. {
  45. "name":"barrage_switch",
  46. "comment":"弹幕开关 1打开 -1关闭",
  47. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  48. "type":"BIGINT"
  49. },
  50. {
  51. "name":"barrage_count",
  52. "comment":"弹幕数",
  53. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  54. "type":"BIGINT"
  55. },
  56. {
  57. "name":"comment_count",
  58. "comment":"评论数",
  59. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  60. "type":"BIGINT"
  61. },
  62. {
  63. "name":"share_image_path",
  64. "comment":"分享到微信会话的图片的宽高比为5:4底片的路径",
  65. "typeDetail":"{\"odpsType\":\"STRING\",\"typeName\":\"STRING\"}",
  66. "type":"STRING"
  67. },
  68. {
  69. "name":"descr",
  70. "comment":"视频简介",
  71. "typeDetail":"{\"odpsType\":\"STRING\",\"typeName\":\"STRING\"}",
  72. "type":"STRING"
  73. },
  74. {
  75. "name":"sample_request_id",
  76. "comment":"试看视频的转码任务请求id",
  77. "typeDetail":"{\"odpsType\":\"STRING\",\"typeName\":\"STRING\"}",
  78. "type":"STRING"
  79. },
  80. {
  81. "name":"sample_job_id",
  82. "comment":"试看视频的转码任务id",
  83. "typeDetail":"{\"odpsType\":\"STRING\",\"typeName\":\"STRING\"}",
  84. "type":"STRING"
  85. },
  86. {
  87. "name":"sample_transcode_status",
  88. "comment":"试看视频的转码任务状态(1:发送转码失败,2:转码中,3:转码完成,4:转码失败,5是不需要发送转码,此状态只针对于detail表而言)",
  89. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  90. "type":"BIGINT"
  91. },
  92. {
  93. "name":"sample_transed_video_path",
  94. "comment":"试看视频的转码后的视频路径",
  95. "typeDetail":"{\"odpsType\":\"STRING\",\"typeName\":\"STRING\"}",
  96. "type":"STRING"
  97. },
  98. {
  99. "name":"charge",
  100. "comment":"0 免费 1收费",
  101. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  102. "type":"BIGINT"
  103. },
  104. {
  105. "name":"price",
  106. "comment":"金额 单位 分",
  107. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  108. "type":"BIGINT"
  109. },
  110. {
  111. "name":"sample_total_time",
  112. "comment":"试看时长",
  113. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  114. "type":"BIGINT"
  115. },
  116. {
  117. "name":"sample_transed_datetime",
  118. "comment":"试看视频转完码的时间点",
  119. "typeDetail":"{\"odpsType\":\"DATETIME\",\"typeName\":\"DATETIME\"}",
  120. "type":"DATETIME"
  121. },
  122. {
  123. "name":"allow_ios_play",
  124. "comment":"是否允许ios端播放,0不允许,1 允许",
  125. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  126. "type":"BIGINT"
  127. },
  128. {
  129. "name":"pay_count",
  130. "comment":"支付过的人数",
  131. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  132. "type":"BIGINT"
  133. },
  134. {
  135. "name":"cus_title",
  136. "comment":"自定义标题",
  137. "typeDetail":"{\"odpsType\":\"STRING\",\"typeName\":\"STRING\"}",
  138. "type":"STRING"
  139. },
  140. {
  141. "name":"cus_desc",
  142. "comment":"自定义简介",
  143. "typeDetail":"{\"odpsType\":\"STRING\",\"typeName\":\"STRING\"}",
  144. "type":"STRING"
  145. },
  146. {
  147. "name":"task_status",
  148. "comment":"0 未处理,1 已处理",
  149. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  150. "type":"BIGINT"
  151. },
  152. {
  153. "name":"discern_status",
  154. "comment":"0 未检测 1 不需要检测 2 检测通过 3检测失败",
  155. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  156. "type":"BIGINT"
  157. },
  158. {
  159. "name":"view_count",
  160. "comment":"曝光次数",
  161. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  162. "type":"BIGINT"
  163. }
  164. ],
  165. "sourceTableColumn":[
  166. {
  167. "columnType":"-5",
  168. "typeSize":"20",
  169. "nullable":"0",
  170. "name":"id",
  171. "comment":"",
  172. "type":"BIGINT",
  173. "primaryKey":"true"
  174. },
  175. {
  176. "columnType":"-5",
  177. "typeSize":"20",
  178. "nullable":"0",
  179. "name":"video_id",
  180. "comment":"",
  181. "type":"BIGINT"
  182. },
  183. {
  184. "columnType":"-5",
  185. "typeSize":"20",
  186. "nullable":"0",
  187. "name":"uid",
  188. "comment":"",
  189. "type":"BIGINT"
  190. },
  191. {
  192. "columnType":"93",
  193. "typeSize":"19",
  194. "nullable":"1",
  195. "name":"gmt_create",
  196. "comment":"",
  197. "type":"DATETIME"
  198. },
  199. {
  200. "columnType":"4",
  201. "typeSize":"4",
  202. "nullable":"0",
  203. "name":"app_type",
  204. "comment":"",
  205. "type":"INT"
  206. },
  207. {
  208. "columnType":"4",
  209. "typeSize":"4",
  210. "nullable":"1",
  211. "name":"barrage_switch",
  212. "comment":"弹幕开关 1打开 -1关闭",
  213. "type":"INT"
  214. },
  215. {
  216. "columnType":"4",
  217. "typeSize":"11",
  218. "nullable":"1",
  219. "name":"barrage_count",
  220. "comment":"弹幕数",
  221. "type":"INT"
  222. },
  223. {
  224. "columnType":"4",
  225. "typeSize":"11",
  226. "nullable":"1",
  227. "name":"comment_count",
  228. "comment":"评论数",
  229. "type":"INT"
  230. },
  231. {
  232. "columnType":"12",
  233. "typeSize":"500",
  234. "nullable":"1",
  235. "name":"share_image_path",
  236. "comment":"分享到微信会话的图片的宽高比为5:4底片的路径",
  237. "type":"VARCHAR"
  238. },
  239. {
  240. "columnType":"12",
  241. "typeSize":"500",
  242. "nullable":"1",
  243. "name":"descr",
  244. "comment":"视频简介",
  245. "type":"VARCHAR"
  246. },
  247. {
  248. "columnType":"12",
  249. "typeSize":"128",
  250. "nullable":"1",
  251. "name":"sample_request_id",
  252. "comment":"试看视频的转码任务请求ID",
  253. "type":"VARCHAR"
  254. },
  255. {
  256. "columnType":"12",
  257. "typeSize":"128",
  258. "nullable":"1",
  259. "name":"sample_job_id",
  260. "comment":"试看视频的转码任务ID",
  261. "type":"VARCHAR"
  262. },
  263. {
  264. "columnType":"4",
  265. "typeSize":"2",
  266. "nullable":"1",
  267. "name":"sample_transcode_status",
  268. "comment":"试看视频的转码任务状态(1:发送转码失败,2:转码中,3:转码完成,4:转码失败,5是不需要发送转码,此状态只针对于detail表而言)",
  269. "type":"INT"
  270. },
  271. {
  272. "columnType":"12",
  273. "typeSize":"255",
  274. "nullable":"1",
  275. "name":"sample_transed_video_path",
  276. "comment":"试看视频的转码后的视频路径",
  277. "type":"VARCHAR"
  278. },
  279. {
  280. "columnType":"4",
  281. "typeSize":"4",
  282. "nullable":"1",
  283. "name":"charge",
  284. "comment":"0 免费 1收费",
  285. "type":"INT"
  286. },
  287. {
  288. "columnType":"-5",
  289. "typeSize":"20",
  290. "nullable":"1",
  291. "name":"price",
  292. "comment":"金额 单位 分",
  293. "type":"BIGINT"
  294. },
  295. {
  296. "columnType":"4",
  297. "typeSize":"10",
  298. "nullable":"1",
  299. "name":"sample_total_time",
  300. "comment":"试看时长",
  301. "type":"INT"
  302. },
  303. {
  304. "columnType":"93",
  305. "typeSize":"19",
  306. "nullable":"1",
  307. "name":"sample_transed_datetime",
  308. "comment":"试看视频转完码的时间点",
  309. "type":"DATETIME"
  310. },
  311. {
  312. "columnType":"4",
  313. "typeSize":"4",
  314. "nullable":"1",
  315. "name":"allow_ios_play",
  316. "comment":"是否允许ios端播放,0不允许,1 允许",
  317. "type":"INT"
  318. },
  319. {
  320. "columnType":"4",
  321. "typeSize":"10",
  322. "nullable":"1",
  323. "name":"pay_count",
  324. "comment":"支付过的人数",
  325. "type":"INT"
  326. },
  327. {
  328. "columnType":"12",
  329. "typeSize":"100",
  330. "nullable":"1",
  331. "name":"cus_title",
  332. "comment":"自定义标题",
  333. "type":"VARCHAR"
  334. },
  335. {
  336. "columnType":"12",
  337. "typeSize":"500",
  338. "nullable":"1",
  339. "name":"cus_desc",
  340. "comment":"自定义简介",
  341. "type":"VARCHAR"
  342. },
  343. {
  344. "columnType":"4",
  345. "typeSize":"2",
  346. "nullable":"1",
  347. "name":"task_status",
  348. "comment":"0 未处理,1 已处理",
  349. "type":"INT"
  350. },
  351. {
  352. "columnType":"4",
  353. "typeSize":"2",
  354. "nullable":"1",
  355. "name":"discern_status",
  356. "comment":"0 未检测 1 不需要检测 2 检测通过 3检测失败",
  357. "type":"INT"
  358. },
  359. {
  360. "columnType":"-5",
  361. "typeSize":"20",
  362. "nullable":"1",
  363. "name":"view_count",
  364. "comment":"曝光次数",
  365. "type":"BIGINT"
  366. }
  367. ]
  368. },
  369. "markConfig":{},
  370. "type":"job",
  371. "version":"2.0",
  372. "steps":[
  373. {
  374. "stepType":"mysql",
  375. "copies":1,
  376. "parameter":{
  377. "envType":1,
  378. "datasource":"longvideo",
  379. "useSpecialSecret":false,
  380. "column":[
  381. "id",
  382. "video_id",
  383. "uid",
  384. "gmt_create",
  385. "app_type",
  386. "barrage_switch",
  387. "barrage_count",
  388. "comment_count",
  389. "share_image_path",
  390. "descr",
  391. "sample_request_id",
  392. "sample_job_id",
  393. "sample_transcode_status",
  394. "sample_transed_video_path",
  395. "charge",
  396. "price",
  397. "sample_total_time",
  398. "sample_transed_datetime",
  399. "allow_ios_play",
  400. "pay_count",
  401. "cus_title",
  402. "cus_desc",
  403. "task_status",
  404. "discern_status",
  405. "view_count"
  406. ],
  407. "tableComment":"",
  408. "where":"",
  409. "connection":[
  410. {
  411. "datasource":"longvideo",
  412. "table":[
  413. "`wx_video_detail`"
  414. ]
  415. }
  416. ],
  417. "splitPk":"id"
  418. },
  419. "name":"Reader",
  420. "gui":{
  421. "x":100,
  422. "y":100
  423. },
  424. "category":"reader"
  425. },
  426. {
  427. "stepType":"odps",
  428. "copies":1,
  429. "parameter":{
  430. "truncate":true,
  431. "envType":1,
  432. "datasource":"odps_first",
  433. "tunnelQuota":"default",
  434. "isSupportThreeModel":false,
  435. "column":[
  436. "id",
  437. "video_id",
  438. "uid",
  439. "gmt_create",
  440. "app_type",
  441. "barrage_switch",
  442. "barrage_count",
  443. "comment_count",
  444. "share_image_path",
  445. "descr",
  446. "sample_request_id",
  447. "sample_job_id",
  448. "sample_transcode_status",
  449. "sample_transed_video_path",
  450. "charge",
  451. "price",
  452. "sample_total_time",
  453. "sample_transed_datetime",
  454. "allow_ios_play",
  455. "pay_count",
  456. "cus_title",
  457. "cus_desc",
  458. "task_status",
  459. "discern_status",
  460. "view_count"
  461. ],
  462. "emptyAsNull":false,
  463. "tableComment":"视频详情表",
  464. "consistencyCommit":false,
  465. "table":"wx_video_detail"
  466. },
  467. "name":"Writer",
  468. "gui":{
  469. "x":100,
  470. "y":200
  471. },
  472. "category":"writer"
  473. }
  474. ],
  475. "order":{
  476. "hops":[
  477. {
  478. "from":"Reader",
  479. "gui":{
  480. "sourceAnchor":1,
  481. "targetAnchor":0
  482. },
  483. "to":"Writer"
  484. }
  485. ]
  486. },
  487. "setting":{
  488. "errorLimit":{
  489. "record":""
  490. },
  491. "locale":"zh",
  492. "speed":{
  493. "throttle":false,
  494. "concurrent":2
  495. }
  496. }
  497. }
  498. -- Task: imp.wx_video_detail.wx_video_detail ID: 1000416082 Type: DI
  499. {
  500. "extend":{
  501. "mode":"wizard",
  502. "resourceGroup":"group_42901",
  503. "oneStopPageNum":2
  504. },
  505. "transform":false,
  506. "mappingRule":{
  507. "sourceType":"mysql",
  508. "targetType":"odps",
  509. "needDiff":true,
  510. "targetTableColumn":[
  511. {
  512. "name":"id",
  513. "comment":"",
  514. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  515. "type":"BIGINT"
  516. },
  517. {
  518. "name":"video_id",
  519. "comment":"",
  520. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  521. "type":"BIGINT"
  522. },
  523. {
  524. "name":"uid",
  525. "comment":"",
  526. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  527. "type":"BIGINT"
  528. },
  529. {
  530. "name":"gmt_create",
  531. "comment":"",
  532. "typeDetail":"{\"odpsType\":\"DATETIME\",\"typeName\":\"DATETIME\"}",
  533. "type":"DATETIME"
  534. },
  535. {
  536. "name":"app_type",
  537. "comment":"",
  538. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  539. "type":"BIGINT"
  540. },
  541. {
  542. "name":"barrage_switch",
  543. "comment":"弹幕开关 1打开 -1关闭",
  544. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  545. "type":"BIGINT"
  546. },
  547. {
  548. "name":"barrage_count",
  549. "comment":"弹幕数",
  550. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  551. "type":"BIGINT"
  552. },
  553. {
  554. "name":"comment_count",
  555. "comment":"评论数",
  556. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  557. "type":"BIGINT"
  558. },
  559. {
  560. "name":"share_image_path",
  561. "comment":"分享到微信会话的图片的宽高比为5:4底片的路径",
  562. "typeDetail":"{\"odpsType\":\"STRING\",\"typeName\":\"STRING\"}",
  563. "type":"STRING"
  564. },
  565. {
  566. "name":"descr",
  567. "comment":"视频简介",
  568. "typeDetail":"{\"odpsType\":\"STRING\",\"typeName\":\"STRING\"}",
  569. "type":"STRING"
  570. },
  571. {
  572. "name":"sample_request_id",
  573. "comment":"试看视频的转码任务请求id",
  574. "typeDetail":"{\"odpsType\":\"STRING\",\"typeName\":\"STRING\"}",
  575. "type":"STRING"
  576. },
  577. {
  578. "name":"sample_job_id",
  579. "comment":"试看视频的转码任务id",
  580. "typeDetail":"{\"odpsType\":\"STRING\",\"typeName\":\"STRING\"}",
  581. "type":"STRING"
  582. },
  583. {
  584. "name":"sample_transcode_status",
  585. "comment":"试看视频的转码任务状态(1:发送转码失败,2:转码中,3:转码完成,4:转码失败,5是不需要发送转码,此状态只针对于detail表而言)",
  586. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  587. "type":"BIGINT"
  588. },
  589. {
  590. "name":"sample_transed_video_path",
  591. "comment":"试看视频的转码后的视频路径",
  592. "typeDetail":"{\"odpsType\":\"STRING\",\"typeName\":\"STRING\"}",
  593. "type":"STRING"
  594. },
  595. {
  596. "name":"charge",
  597. "comment":"0 免费 1收费",
  598. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  599. "type":"BIGINT"
  600. },
  601. {
  602. "name":"price",
  603. "comment":"金额 单位 分",
  604. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  605. "type":"BIGINT"
  606. },
  607. {
  608. "name":"sample_total_time",
  609. "comment":"试看时长",
  610. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  611. "type":"BIGINT"
  612. },
  613. {
  614. "name":"sample_transed_datetime",
  615. "comment":"试看视频转完码的时间点",
  616. "typeDetail":"{\"odpsType\":\"DATETIME\",\"typeName\":\"DATETIME\"}",
  617. "type":"DATETIME"
  618. },
  619. {
  620. "name":"allow_ios_play",
  621. "comment":"是否允许ios端播放,0不允许,1 允许",
  622. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  623. "type":"BIGINT"
  624. },
  625. {
  626. "name":"pay_count",
  627. "comment":"支付过的人数",
  628. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  629. "type":"BIGINT"
  630. },
  631. {
  632. "name":"cus_title",
  633. "comment":"自定义标题",
  634. "typeDetail":"{\"odpsType\":\"STRING\",\"typeName\":\"STRING\"}",
  635. "type":"STRING"
  636. },
  637. {
  638. "name":"cus_desc",
  639. "comment":"自定义简介",
  640. "typeDetail":"{\"odpsType\":\"STRING\",\"typeName\":\"STRING\"}",
  641. "type":"STRING"
  642. },
  643. {
  644. "name":"task_status",
  645. "comment":"0 未处理,1 已处理",
  646. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  647. "type":"BIGINT"
  648. },
  649. {
  650. "name":"discern_status",
  651. "comment":"0 未检测 1 不需要检测 2 检测通过 3检测失败",
  652. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  653. "type":"BIGINT"
  654. },
  655. {
  656. "name":"view_count",
  657. "comment":"曝光次数",
  658. "typeDetail":"{\"odpsType\":\"BIGINT\",\"typeName\":\"BIGINT\"}",
  659. "type":"BIGINT"
  660. }
  661. ],
  662. "sourceTableColumn":[
  663. {
  664. "columnType":"-5",
  665. "typeSize":"20",
  666. "nullable":"0",
  667. "name":"id",
  668. "comment":"",
  669. "type":"BIGINT",
  670. "primaryKey":"true"
  671. },
  672. {
  673. "columnType":"-5",
  674. "typeSize":"20",
  675. "nullable":"0",
  676. "name":"video_id",
  677. "comment":"",
  678. "type":"BIGINT"
  679. },
  680. {
  681. "columnType":"-5",
  682. "typeSize":"20",
  683. "nullable":"0",
  684. "name":"uid",
  685. "comment":"",
  686. "type":"BIGINT"
  687. },
  688. {
  689. "columnType":"93",
  690. "typeSize":"19",
  691. "nullable":"1",
  692. "name":"gmt_create",
  693. "comment":"",
  694. "type":"DATETIME"
  695. },
  696. {
  697. "columnType":"4",
  698. "typeSize":"4",
  699. "nullable":"0",
  700. "name":"app_type",
  701. "comment":"",
  702. "type":"INT"
  703. },
  704. {
  705. "columnType":"4",
  706. "typeSize":"4",
  707. "nullable":"1",
  708. "name":"barrage_switch",
  709. "comment":"弹幕开关 1打开 -1关闭",
  710. "type":"INT"
  711. },
  712. {
  713. "columnType":"4",
  714. "typeSize":"11",
  715. "nullable":"1",
  716. "name":"barrage_count",
  717. "comment":"弹幕数",
  718. "type":"INT"
  719. },
  720. {
  721. "columnType":"4",
  722. "typeSize":"11",
  723. "nullable":"1",
  724. "name":"comment_count",
  725. "comment":"评论数",
  726. "type":"INT"
  727. },
  728. {
  729. "columnType":"12",
  730. "typeSize":"500",
  731. "nullable":"1",
  732. "name":"share_image_path",
  733. "comment":"分享到微信会话的图片的宽高比为5:4底片的路径",
  734. "type":"VARCHAR"
  735. },
  736. {
  737. "columnType":"12",
  738. "typeSize":"500",
  739. "nullable":"1",
  740. "name":"descr",
  741. "comment":"视频简介",
  742. "type":"VARCHAR"
  743. },
  744. {
  745. "columnType":"12",
  746. "typeSize":"128",
  747. "nullable":"1",
  748. "name":"sample_request_id",
  749. "comment":"试看视频的转码任务请求ID",
  750. "type":"VARCHAR"
  751. },
  752. {
  753. "columnType":"12",
  754. "typeSize":"128",
  755. "nullable":"1",
  756. "name":"sample_job_id",
  757. "comment":"试看视频的转码任务ID",
  758. "type":"VARCHAR"
  759. },
  760. {
  761. "columnType":"4",
  762. "typeSize":"2",
  763. "nullable":"1",
  764. "name":"sample_transcode_status",
  765. "comment":"试看视频的转码任务状态(1:发送转码失败,2:转码中,3:转码完成,4:转码失败,5是不需要发送转码,此状态只针对于detail表而言)",
  766. "type":"INT"
  767. },
  768. {
  769. "columnType":"12",
  770. "typeSize":"255",
  771. "nullable":"1",
  772. "name":"sample_transed_video_path",
  773. "comment":"试看视频的转码后的视频路径",
  774. "type":"VARCHAR"
  775. },
  776. {
  777. "columnType":"4",
  778. "typeSize":"4",
  779. "nullable":"1",
  780. "name":"charge",
  781. "comment":"0 免费 1收费",
  782. "type":"INT"
  783. },
  784. {
  785. "columnType":"-5",
  786. "typeSize":"20",
  787. "nullable":"1",
  788. "name":"price",
  789. "comment":"金额 单位 分",
  790. "type":"BIGINT"
  791. },
  792. {
  793. "columnType":"4",
  794. "typeSize":"10",
  795. "nullable":"1",
  796. "name":"sample_total_time",
  797. "comment":"试看时长",
  798. "type":"INT"
  799. },
  800. {
  801. "columnType":"93",
  802. "typeSize":"19",
  803. "nullable":"1",
  804. "name":"sample_transed_datetime",
  805. "comment":"试看视频转完码的时间点",
  806. "type":"DATETIME"
  807. },
  808. {
  809. "columnType":"4",
  810. "typeSize":"4",
  811. "nullable":"1",
  812. "name":"allow_ios_play",
  813. "comment":"是否允许ios端播放,0不允许,1 允许",
  814. "type":"INT"
  815. },
  816. {
  817. "columnType":"4",
  818. "typeSize":"10",
  819. "nullable":"1",
  820. "name":"pay_count",
  821. "comment":"支付过的人数",
  822. "type":"INT"
  823. },
  824. {
  825. "columnType":"12",
  826. "typeSize":"100",
  827. "nullable":"1",
  828. "name":"cus_title",
  829. "comment":"自定义标题",
  830. "type":"VARCHAR"
  831. },
  832. {
  833. "columnType":"12",
  834. "typeSize":"500",
  835. "nullable":"1",
  836. "name":"cus_desc",
  837. "comment":"自定义简介",
  838. "type":"VARCHAR"
  839. },
  840. {
  841. "columnType":"4",
  842. "typeSize":"2",
  843. "nullable":"1",
  844. "name":"task_status",
  845. "comment":"0 未处理,1 已处理",
  846. "type":"INT"
  847. },
  848. {
  849. "columnType":"4",
  850. "typeSize":"2",
  851. "nullable":"1",
  852. "name":"discern_status",
  853. "comment":"0 未检测 1 不需要检测 2 检测通过 3检测失败",
  854. "type":"INT"
  855. },
  856. {
  857. "columnType":"-5",
  858. "typeSize":"20",
  859. "nullable":"1",
  860. "name":"view_count",
  861. "comment":"曝光次数",
  862. "type":"BIGINT"
  863. }
  864. ]
  865. },
  866. "markConfig":{},
  867. "type":"job",
  868. "version":"2.0",
  869. "steps":[
  870. {
  871. "stepType":"mysql",
  872. "copies":1,
  873. "parameter":{
  874. "envType":1,
  875. "datasource":"longvideo",
  876. "useSpecialSecret":false,
  877. "column":[
  878. "id",
  879. "video_id",
  880. "uid",
  881. "gmt_create",
  882. "app_type",
  883. "barrage_switch",
  884. "barrage_count",
  885. "comment_count",
  886. "share_image_path",
  887. "descr",
  888. "sample_request_id",
  889. "sample_job_id",
  890. "sample_transcode_status",
  891. "sample_transed_video_path",
  892. "charge",
  893. "price",
  894. "sample_total_time",
  895. "sample_transed_datetime",
  896. "allow_ios_play",
  897. "pay_count",
  898. "cus_title",
  899. "cus_desc",
  900. "task_status",
  901. "discern_status",
  902. "view_count"
  903. ],
  904. "tableComment":"",
  905. "where":"",
  906. "connection":[
  907. {
  908. "datasource":"longvideo",
  909. "table":[
  910. "`wx_video_detail`"
  911. ]
  912. }
  913. ],
  914. "splitPk":"id"
  915. },
  916. "name":"Reader",
  917. "gui":{
  918. "x":100,
  919. "y":100
  920. },
  921. "category":"reader"
  922. },
  923. {
  924. "stepType":"odps",
  925. "copies":1,
  926. "parameter":{
  927. "truncate":true,
  928. "envType":1,
  929. "datasource":"odps_first",
  930. "tunnelQuota":"default",
  931. "isSupportThreeModel":false,
  932. "column":[
  933. "id",
  934. "video_id",
  935. "uid",
  936. "gmt_create",
  937. "app_type",
  938. "barrage_switch",
  939. "barrage_count",
  940. "comment_count",
  941. "share_image_path",
  942. "descr",
  943. "sample_request_id",
  944. "sample_job_id",
  945. "sample_transcode_status",
  946. "sample_transed_video_path",
  947. "charge",
  948. "price",
  949. "sample_total_time",
  950. "sample_transed_datetime",
  951. "allow_ios_play",
  952. "pay_count",
  953. "cus_title",
  954. "cus_desc",
  955. "task_status",
  956. "discern_status",
  957. "view_count"
  958. ],
  959. "emptyAsNull":false,
  960. "tableComment":"视频详情表",
  961. "consistencyCommit":false,
  962. "table":"wx_video_detail"
  963. },
  964. "name":"Writer",
  965. "gui":{
  966. "x":100,
  967. "y":200
  968. },
  969. "category":"writer"
  970. }
  971. ],
  972. "order":{
  973. "hops":[
  974. {
  975. "from":"Reader",
  976. "gui":{
  977. "sourceAnchor":1,
  978. "targetAnchor":0
  979. },
  980. "to":"Writer"
  981. }
  982. ]
  983. },
  984. "setting":{
  985. "errorLimit":{
  986. "record":""
  987. },
  988. "locale":"zh",
  989. "speed":{
  990. "throttle":false,
  991. "concurrent":2
  992. }
  993. }
  994. }