Skip to content

Commit

Permalink
remove excapeChar in sql script table entity datavane/tis#147
Browse files Browse the repository at this point in the history
  • Loading branch information
baisui1981 committed Oct 27, 2022
1 parent 0e73bae commit 143829b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dependencies>

<dependency>
<groupId>com.alibaba.datax</groupId>
<groupId>com.qlangtech.tis</groupId>
<artifactId>datax-config</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public void startRead(Configuration readerSliceConfig,
if (StringUtils.isEmpty(table)) {
Matcher m = PATTERN_FROM_TABLE.matcher(querySql);
if (m.find()) {
table = m.group(1);
table = StringUtils.remove(m.group(1), readerDataSourceFactoryGetter.getDataSourceFactory().getEscapeChar());
} else {
throw new IllegalStateException("can not find table name from query sql:" + querySql);
}
Expand Down

0 comments on commit 143829b

Please sign in to comment.