sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r1331245 - /sqoop/trunk/src/java/org/apache/sqoop/manager/PostgresqlManager.java
Date Fri, 27 Apr 2012 06:42:43 GMT
Author: blee
Date: Fri Apr 27 06:42:42 2012
New Revision: 1331245

URL: http://svn.apache.org/viewvc?rev=1331245&view=rev
Log:
SQOOP-445  Wrong query for getListColumnsQuery in PostgresqlManager

Modified:
    sqoop/trunk/src/java/org/apache/sqoop/manager/PostgresqlManager.java

Modified: sqoop/trunk/src/java/org/apache/sqoop/manager/PostgresqlManager.java
URL: http://svn.apache.org/viewvc/sqoop/trunk/src/java/org/apache/sqoop/manager/PostgresqlManager.java?rev=1331245&r1=1331244&r2=1331245&view=diff
==============================================================================
--- sqoop/trunk/src/java/org/apache/sqoop/manager/PostgresqlManager.java (original)
+++ sqoop/trunk/src/java/org/apache/sqoop/manager/PostgresqlManager.java Fri Apr 27 06:42:42
2012
@@ -129,7 +129,8 @@ public class PostgresqlManager
     + "  AND tab.OID = col.ATTRELID "
     + "  AND sch.NSPNAME = (SELECT CURRENT_SCHEMA()) "
     + "  AND tab.RELNAME = '" + escapeLiteral(tableName) + "' "
-    + "  AND col.ATTNUM >= 1";
+    + "  AND col.ATTNUM >= 1"
+    + "  AND col.ATTISDROPPED = 'f'";
   }
 
   @Override



Mime
View raw message