I want to import a Netezza table in a specific non-default schema with the following command:
sqoop import \
--connect jdbc:netezza://netezza-host-name:5480/NZDATABASE \
--table MY_SCHEMA.MY_TABLE \
--username user \
-P \
--hive-import \
--hive-database demo \
--create-hive-table \
--hive-table MY_NEW_TABLE
This however fails because because it checks only the default schema "ADMIN":
org.netezza.error.NzSQLException: ERROR: relation does not exist NZDATABASE.ADMIN.MY_SCHEMA.MY_TABLE
versions:
- Sqoop 1.4.7
- nzjdbc.jar release 7.2.1.8 driver