mirror of
https://github.com/alibaba/DataX.git
synced 2025-05-02 04:59:51 +08:00
optimize code
This commit is contained in:
parent
aedc679c73
commit
1282ab2c8d
@ -172,9 +172,8 @@ public class CommonRdbmsReader {
|
||||
public void startRead(Configuration readerSliceConfig,
|
||||
RecordSender recordSender,
|
||||
TaskPluginCollector taskPluginCollector, int fetchSize) {
|
||||
String querySql = readerSliceConfig.getString(Key.QUERY_SQL);
|
||||
String table = readerSliceConfig.getString(Key.TABLE);
|
||||
querySql = querySql.replaceAll(Constant.TABLE_NAME_PLACEHOLDER, table);
|
||||
String querySql = readerSliceConfig.getString(Key.QUERY_SQL).replaceAll(Constant.TABLE_NAME_PLACEHOLDER, table);
|
||||
|
||||
PerfTrace.getInstance().addTaskDetails(taskId, table + "," + basicMsg);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user