You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sqoop.apache.org by va...@apache.org on 2018/10/25 06:37:56 UTC

sqoop git commit: SQOOP-3355: Document SQOOP-1905 DB2 --schema option

Repository: sqoop
Updated Branches:
  refs/heads/trunk f6455c864 -> 7ab99f41c


SQOOP-3355: Document SQOOP-1905 DB2 --schema option

(Fero Szabo via Szabolcs Vasas)


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/7ab99f41
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/7ab99f41
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/7ab99f41

Branch: refs/heads/trunk
Commit: 7ab99f41cf75da22e523c132cb782bb20102b348
Parents: f6455c8
Author: Szabolcs Vasas <va...@apache.org>
Authored: Thu Oct 25 08:36:29 2018 +0200
Committer: Szabolcs Vasas <va...@apache.org>
Committed: Thu Oct 25 08:36:29 2018 +0200

----------------------------------------------------------------------
 src/docs/user/connectors.txt | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/7ab99f41/src/docs/user/connectors.txt
----------------------------------------------------------------------
diff --git a/src/docs/user/connectors.txt b/src/docs/user/connectors.txt
index 59e3e00..b5ec926 100644
--- a/src/docs/user/connectors.txt
+++ b/src/docs/user/connectors.txt
@@ -20,6 +20,27 @@
 Notes for specific connectors
 -----------------------------
 
+DB2 JDBC Connector
+~~~~~~~~~~~~~~~~~~
+
+This section contains information specific to DB2 JDBC Connector.
+
+Schema support
+^^^^^^^^^^^^^^
+
+When connecting to DB2 and using the import-all-tables or the list-tables tools,
+one can use the +\--schema+ tool option to specify the schema to use.  If the option
+is not present, then the schema of the current user (specified with the +\--username+ option) will be used as a default.
+Please note that this option doesn't work for any other tools at the moment,
+(such as the import tool or the export tool).
+
+Examples:
+
+----
+$ sqoop list-tables --connect $CONN  --username $USER --password $PASS -- --schema DB2INST2
+$ sqoop import-all-tables --connect $CONN  --username $USER --password $PASS -- --schema DB2INST2
+----
+
 MySQL JDBC Connector
 ~~~~~~~~~~~~~~~~~~~~