You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Veena Basavaraj (JIRA)" <ji...@apache.org> on 2014/11/29 16:44:12 UTC

[jira] [Commented] (SQOOP-1720) Schema Type Mappings between the From and To

    [ https://issues.apache.org/jira/browse/SQOOP-1720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14228798#comment-14228798 ] 

Veena Basavaraj commented on SQOOP-1720:
----------------------------------------

[~jarcec] do you want to follow up on this? It is important to address this if we are to allow proper data transfer.

> Schema Type Mappings between the From and To
> --------------------------------------------
>
>                 Key: SQOOP-1720
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1720
>             Project: Sqoop
>          Issue Type: New Feature
>          Components: sqoop2-framework
>            Reporter: Veena Basavaraj
>            Assignee: Veena Basavaraj
>             Fix For: 1.99.5
>
>
> It is unclear today as to what is the optimal place where the type mappings described in the SQOOP-515 between the From and To can happen.
> For example in case of HIVE, if the IDF FixedPoint size attribute is given, the destination schema column type might be dependent on the value of this size  is in the corresponding From schema.
>    For example in Hive.
>    Default: bigint
>    if size < 1 then tinyint
>    if size < 2 then smallint
>    if size < 4 then int
>    Read more: https://issues.apache.org/jira/secure/attachment/12589331/Sqoop2Datatypes.pdf
> To summarize the question s how does the ToInitializer get access to the schema from the "FROM"
> ?? InitializerContext



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)