Skip to content

Commit b2bf508

Browse files
author
lydia071
committed
Update data_synchronization_between_clusters.md
1 parent 80a1a44 commit b2bf508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_synchronization_between_clusters.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def writeRemoteDB(t, ip, port, dbName,tableName,writeData){
134134
conn(login{`admin,`123456})
135135
remoteRun(conn,writeData,dbName,tableName,t)
136136
}
137-
def synDataBaseOnline(ip, port,writeRemoteDB=writeRemoteDB){
137+
def synDataBaseOnline(ip, port){
138138
ds = sqlDS(<select * from loadTable("dfs://db1","mt") where Timestamp > timestamp(date(now())) and Timestamp < now()>)
139139
mr(ds, writeRemoteDB{,ip,port,"dfs://db1","mt",writeData},,, false)
140140
}

0 commit comments

Comments
 (0)