From e7403004816210c88d253ebc679df8bbd0c764b0 Mon Sep 17 00:00:00 2001 From: johnrobbet Date: Tue, 8 Mar 2022 17:43:14 +0800 Subject: [PATCH] do not change columnName to upper case when searching for save point columns --- .../plugin/reader/oceanbasev10reader/util/ObReaderUtils.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/oceanbasev10reader/src/main/java/com/alibaba/datax/plugin/reader/oceanbasev10reader/util/ObReaderUtils.java b/oceanbasev10reader/src/main/java/com/alibaba/datax/plugin/reader/oceanbasev10reader/util/ObReaderUtils.java index 73576aa0d4..6356b97b13 100644 --- a/oceanbasev10reader/src/main/java/com/alibaba/datax/plugin/reader/oceanbasev10reader/util/ObReaderUtils.java +++ b/oceanbasev10reader/src/main/java/com/alibaba/datax/plugin/reader/oceanbasev10reader/util/ObReaderUtils.java @@ -171,9 +171,6 @@ private static String[] getPkColumns(Connection conn, TaskContext context) { hasPk = true; String columnName = rs.getString("Column_name"); columnName = escapeDatabaseKeywords(columnName); - if (!isEscapeMode(columnName)) { - columnName = columnName.toLowerCase(); - } if (!realIndex.contains(columnName)) { realIndex.add(columnName); }