mirror of
https://github.com/alibaba/DataX.git
synced 2025-05-01 22:42:53 +08:00
[feature][plugin][sybase] datax support sybase plugins. #1780
update package
This commit is contained in:
parent
e158e5845b
commit
543a67273f
@ -14,21 +14,21 @@
|
||||
<include>plugin.json</include>
|
||||
<include>plugin_job_template.json</include>
|
||||
</includes>
|
||||
<outputDirectory>plugin/reader/oraclereader</outputDirectory>
|
||||
<outputDirectory>plugin/reader/sybasereader</outputDirectory>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>target/</directory>
|
||||
<includes>
|
||||
<include>oraclereader-0.0.1-SNAPSHOT.jar</include>
|
||||
<include>sybasereader-0.0.1-SNAPSHOT.jar</include>
|
||||
</includes>
|
||||
<outputDirectory>plugin/reader/oraclereader</outputDirectory>
|
||||
<outputDirectory>plugin/reader/sybasereader</outputDirectory>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
|
||||
<dependencySets>
|
||||
<dependencySet>
|
||||
<useProjectArtifact>false</useProjectArtifact>
|
||||
<outputDirectory>plugin/reader/oraclereader/libs</outputDirectory>
|
||||
<outputDirectory>plugin/reader/sybasereader/libs</outputDirectory>
|
||||
<scope>runtime</scope>
|
||||
</dependencySet>
|
||||
</dependencySets>
|
||||
|
@ -15,7 +15,7 @@ import com.alibaba.datax.plugin.rdbms.reader.Constant;
|
||||
|
||||
public class SybaseReader extends Reader {
|
||||
|
||||
private static final DataBaseType DATABASE_TYPE = DataBaseType.Oracle;
|
||||
private static final DataBaseType DATABASE_TYPE = DataBaseType.Sybase;
|
||||
|
||||
public static class Job extends Reader.Job {
|
||||
private static final Logger LOG = LoggerFactory
|
||||
@ -63,6 +63,7 @@ public class SybaseReader extends Reader {
|
||||
com.alibaba.datax.plugin.rdbms.reader.Constant.FETCH_SIZE,
|
||||
Constants.DEFAULT_FETCH_SIZE);
|
||||
if (fetchSize < 1) {
|
||||
LOG.warn("对 sybasereader 需要配置 fetchSize, 对性能提升有较大影响 请配置fetchSize.");
|
||||
}
|
||||
originalConfig.set(
|
||||
com.alibaba.datax.plugin.rdbms.reader.Constant.FETCH_SIZE,
|
||||
|
Loading…
Reference in New Issue
Block a user