You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Suresh Srinivasan (JIRA)" <ji...@apache.org> on 2013/03/08 08:40:12 UTC

[jira] [Created] (SQOOP-938) Sqoop: Provide CLI arguments to pass custom Hive CREATE TABLE command while importing using incremental imports.

Suresh Srinivasan created SQOOP-938:
---------------------------------------

             Summary: Sqoop: Provide CLI arguments to pass custom Hive CREATE TABLE command while importing using incremental imports.
                 Key: SQOOP-938
                 URL: https://issues.apache.org/jira/browse/SQOOP-938
             Project: Sqoop
          Issue Type: Improvement
          Components: hive-integration
    Affects Versions: 1.4.1-incubating
         Environment: CentOS release 6.3 (final) with cloudera hadoop-cdh-4.1.3 
Oozie version-3.2.0 
Java version-1.6.0_24
Sqoop version - 1.4.1
Hive Version - 0.9.0
            Reporter: Suresh Srinivasan
            Priority: Trivial


We are not able to provide custom hive CREATE TABLE command while executing sqoop import (from MySql) into Hive using incremental imports feature. Sqoop automatically generate's a Hive script containing a CREATE TABLE operation defining our columns using Hive's types.

Note: By default, Hive tables are created with underlying storage unit as HDFS. To change the underlying storage unit, it is good to pass custom Hive CREATE TABLE command to the Sqoop incremental import command.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira