sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mengwei Ding (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-827) Sqoop2: MMapInput is null while retrieving from DB if pass empty map on write
Date Wed, 07 Aug 2013 00:16:49 GMT

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

Mengwei Ding commented on SQOOP-827:

Hi [~vasanthkumar],

I got a question concerning the TestConnectionHandling.testUpdateConnection(). There is an
assertion in it:

    assertCountForTable("SQOOP.SQ_CONNECTION_INPUT", 10);

In the test, there are 2 connection. Each connection has 2 forms, and each form has 2 String
inputs. So the count f or SQ_CONNECTION_INPUT should be 2x2x2 = 8. But why it's 10 here, after
updated connection?

The same question for TestJobHandling. Thanks.

> Sqoop2: MMapInput is null while retrieving from DB if pass empty map on write
> -----------------------------------------------------------------------------
>                 Key: SQOOP-827
>                 URL: https://issues.apache.org/jira/browse/SQOOP-827
>             Project: Sqoop
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.0.0
>            Reporter: Vasanth kumar RJ
>            Assignee: Mengwei Ding
>             Fix For: 2.0.0
> In TestConnectionHandling.testUpdateConnection() method, if I use MMapInput type for
forms and set empty Map object to value. Then after update, in retrieved part getting form
value as null. Expected a empty map object in retrieved part.
> If I add any item in map object and update then getting expected same map.
> Thanks,
> Vasanth kumar

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

View raw message