sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arv...@apache.org
Subject svn commit: r1220973 - /incubator/sqoop/trunk/src/java/org/apache/sqoop/manager/OracleManager.java
Date Mon, 19 Dec 2011 22:12:53 GMT
Author: arvind
Date: Mon Dec 19 22:12:52 2011
New Revision: 1220973

URL: http://svn.apache.org/viewvc?rev=1220973&view=rev
Log:
SQOOP-414. Column name ordering guarantee for OracleManager.

(Bilung Lee via Arvind Prabhakar)

Modified:
    incubator/sqoop/trunk/src/java/org/apache/sqoop/manager/OracleManager.java

Modified: incubator/sqoop/trunk/src/java/org/apache/sqoop/manager/OracleManager.java
URL: http://svn.apache.org/viewvc/incubator/sqoop/trunk/src/java/org/apache/sqoop/manager/OracleManager.java?rev=1220973&r1=1220972&r2=1220973&view=diff
==============================================================================
--- incubator/sqoop/trunk/src/java/org/apache/sqoop/manager/OracleManager.java (original)
+++ incubator/sqoop/trunk/src/java/org/apache/sqoop/manager/OracleManager.java Mon Dec 19
22:12:52 2011
@@ -91,7 +91,7 @@ public class OracleManager
    */
   public static final String QUERY_COLUMNS_FOR_TABLE =
           "SELECT COLUMN_NAME FROM ALL_TAB_COLUMNS WHERE "
-        + "OWNER = ? AND TABLE_NAME = ?";
+        + "OWNER = ? AND TABLE_NAME = ? ORDER BY COLUMN_ID";
 
   /**
    * Query to find the primary key column name for a given table. This query



Mime
View raw message