5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-03 14:42:31 +08:00

SQOOP-410. Direct modes can't import views

(Jarek Jarcec Cecho via Kathlen Ting)


git-svn-id: https://svn.apache.org/repos/asf/sqoop/trunk@1369390 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Kathleen Ting 2012-08-04 18:21:44 +00:00
parent 02f45c4161
commit be36da3928

View File

@ -120,6 +120,12 @@ Sqoop's direct mode does not support imports of +BLOB+, +CLOB+, or
+LONGVARBINARY+ columns. Use JDBC-based imports for these
columns; do not supply the +\--direct+ argument to the import tool.
Importing views in direct mode
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sqoop is currently not supporting import from view in direct mode. Use
JDBC based (non direct) mode in case that you need to import view (simply
omit +--direct+ parameter).
Direct-mode Transactions
^^^^^^^^^^^^^^^^^^^^^^^^
@ -136,6 +142,20 @@ IMPORTANT: Note that any arguments to Sqoop that are of the form +-D
parameter=value+ are Hadoop _generic arguments_ and must appear before
any tool-specific arguments (for example, +\--connect+, +\--table+, etc).
PostgreSQL
~~~~~~~~~~
Sqoop supports JDBC-based connector for PostgreSQL: http://jdbc.postgresql.org/
The connector has been tested using JDBC driver version "9.1-903 JDBC 4" with
PostgreSQL server 9.1.
Importing views in direct mode
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sqoop is currently not supporting import from view in direct mode. Use
JDBC based (non direct) mode in case that you need to import view (simply
omit +--direct+ parameter).
Oracle
~~~~~~