{
	"job": {
		"setting": {
			"speed": {
				"channel": 1
			},
			"errorLimit": {
				"record": 0,
				"percentage": 0.02
			}
		},
		"content": [{
			"reader": {
				"name": "oraclereader",
				"parameter": {
					"username": "xxxxx",
					"password": "xxxxx",
					"column": [
                            "REPLACE(REPLACE(REPLACE(xxxx1,chr(9),''),chr(10),''),chr(13),'')"
                          , "REPLACE(REPLACE(REPLACE(xxxx2,chr(9),''),chr(10),''),chr(13),'')"
                          , "REPLACE(REPLACE(REPLACE(xxxx3,chr(9),''),chr(10),''),chr(13),'')"
                          , "to_char(日期1,'yyyy-MM-dd HH24:mi:ss')"
                          , "to_char(日期2,'yyyy-MM-dd HH24:mi:ss')"

					],
					"splitPk": "xxxx1",
					"connection": [{
						"table": [
							"table1"
						],
						"jdbcUrl": [
							"jdbc:oracle:thin:@192.168.x.xx:1522/test"
						]
					}]
				}
			},
			"writer": {
				"name": "postgresqlwriter",
				"parameter": {
					"username": "xxxxx",
					"password": "xxxxxxx",
					"column": [
						 "xxxx1"
                        ,"xxxx2"
                        ,"xxxx3"
                        ,"time1"
                        ,"time2"
                              ],
					"preSql": ["truncate table ods.xxxxxxxx"],
					"connection": [{
						"jdbcUrl": "jdbc:postgresql://172.xx.xx.xx:999/test",
						"table": ["ods.xxxxxxxx"]
					}]
				}
			}
		}]
	}
}

 

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐