Importing and Exporting Data Using the MapR Connector for Teradata
You can specify MapR Connector for Teradata options using any of these methods:
- Configuration file
-D
command line option- Sqoop options
Some Sqoop options are unsupported in the current release. For a list of unsupported Sqoop options, see Sqoop TDCH Import and Export Options.
This table shows examples for importing and exporting data:
Operation | Example |
---|---|
Import from Hive and HCatalog | Importing from Hive and HCatalog requires that HIVE_HOME and
HCAT_HOME be specified before the Sqoop command is run or using
--hive-home/--hcatalog-home options. This example shows the
environment variable setup:
Or
|
Import from Teradata to MapR File System |
|
Import from Teradata into a Hive Table |
|
Import from Teradata into an HCatalog Table |
|
Import from Teradata into a Hive Table Stored as RCFile NOTE If you must import
to a table stored as an RCFile or ORCFile, the table must be created before data is
imported. |
|
Export to Teradata |
|
Export from an AVRO File to Teradata |
|