mirror of
https://github.com/apache/sqoop.git
synced 2025-05-03 22:20:52 +08:00
SQOOP-445 Wrong query for getListColumnsQuery in PostgresqlManager
git-svn-id: https://svn.apache.org/repos/asf/sqoop/trunk@1331245 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d3ef140fe8
commit
199d5eb37e
@ -129,7 +129,8 @@ protected String getListColumnsQuery(String tableName) {
|
||||
+ " 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
|
||||
|
Loading…
Reference in New Issue
Block a user