sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mau...@apache.org
Subject sqoop git commit: SQOOP-3288: Changing OracleManager to use CURRENT_TIMESTAMP instead of SYSDATE in case of incremental import to make the process session time aware
Date Fri, 23 Feb 2018 09:28:11 GMT
Repository: sqoop
Updated Branches:
  refs/heads/trunk 69463f0b3 -> a7f5e0d29


SQOOP-3288: Changing OracleManager to use CURRENT_TIMESTAMP instead of
SYSDATE in case of incremental import to make the process session time
aware

(Daniel Voros via Attila Szabo)


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/a7f5e0d2
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/a7f5e0d2
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/a7f5e0d2

Branch: refs/heads/trunk
Commit: a7f5e0d298ffbf8e674bd35ee10f2accc1da5453
Parents: 69463f0
Author: Attila Szabo <maugli@apache.org>
Authored: Fri Feb 23 04:25:56 2018 -0500
Committer: Attila Szabo <maugli@apache.org>
Committed: Fri Feb 23 04:25:56 2018 -0500

----------------------------------------------------------------------
 src/java/org/apache/sqoop/manager/OracleManager.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/a7f5e0d2/src/java/org/apache/sqoop/manager/OracleManager.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/sqoop/manager/OracleManager.java b/src/java/org/apache/sqoop/manager/OracleManager.java
index 12613e3..929b506 100644
--- a/src/java/org/apache/sqoop/manager/OracleManager.java
+++ b/src/java/org/apache/sqoop/manager/OracleManager.java
@@ -649,7 +649,7 @@ public class OracleManager
 
   @Override
   protected String getCurTimestampQuery() {
-    return "SELECT SYSDATE FROM dual";
+    return "SELECT CURRENT_TIMESTAMP FROM dual";
   }
 
   @Override


Mime
View raw message