Skip to content

Commit 3eb9a5e

Browse files
author
dujie
committed
[feature-#1955]jdbcConf adds default optimization parameters
1 parent 1e4023f commit 3eb9a5e

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

  • .github/workflows
  • chunjun-connectors/chunjun-connector-oraclelogminer/src/main/java/com/dtstack/chunjun/connector/oraclelogminer/converter

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ jobs:
7272
cache: 'maven'
7373
- name: add dependencies
7474
run: |
75-
wget http://nexus.dev.dtstack.cn/nexus/content/repositories/dtstack-release/com/esen/jdbc/gbase/8.3.81.53/gbase-8.3.81.53.jar
7675
wget https://cdn.gbase.cn/products/27/czrl6z38BvTfEQS4uyQcS/gbasedbtjdbc_3.5.1.jar
7776
./mvnw install:install-file -DgroupId=com.esen.jdbc -DartifactId=gbase -Dversion=8.3.81.53 -Dpackaging=jar -Dfile=./gbase-8.3.81.53.jar
7877
./mvnw install:install-file -DgroupId=com.gbasedbt.jdbc.Driver -DartifactId=gbasedbt -Dversion=3.5.1_1_d0c87a -Dpackaging=jar -Dfile=./gbasedbtjdbc_3.5.1.jar

chunjun-connectors/chunjun-connector-oraclelogminer/src/main/java/com/dtstack/chunjun/connector/oraclelogminer/converter/OracleRawTypeMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public static DataType apply(TypeConfig type) {
7575
if (type.getType().contains("TIME ZONE")) {
7676
return DataTypes.TIMESTAMP_WITH_LOCAL_TIME_ZONE();
7777
} else {
78-
return DataTypes.TIMESTAMP();
78+
return type.toTimestampDataType(0);
7979
}
8080
}
8181
throw new UnsupportedTypeException(type);

0 commit comments

Comments
 (0)