mirror of
https://github.com/apache/sqoop.git
synced 2025-05-03 12:50:43 +08:00
SQOOP-1209: DirectNetezzaManager fails to find tables from older Netezza system catalogs
(Venkat Ranganathan via Jarek Jarcec Cecho)
This commit is contained in:
parent
91b698ab12
commit
ddd454b9b6
@ -59,8 +59,8 @@ public class DirectNetezzaManager extends NetezzaManager {
|
||||
"max-errors";
|
||||
|
||||
private static final String QUERY_CHECK_DICTIONARY_FOR_TABLE =
|
||||
"SELECT 1 FROM _V_OBJECTS WHERE OWNER= ? "
|
||||
+ " AND OBJNAME = ? and OBJTYPE = 'TABLE'";
|
||||
"SELECT 1 FROM _V_TABLE WHERE OWNER= ? "
|
||||
+ " AND TABLENAME = ?";
|
||||
public static final String NETEZZA_NULL_VALUE =
|
||||
"netezza.exttable.null.value";
|
||||
public DirectNetezzaManager(SqoopOptions opts) {
|
||||
|
Loading…
Reference in New Issue
Block a user