[
https://issues.apache.org/jira/browse/SQOOP-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730398#comment-13730398
]
Vasanth kumar RJ commented on SQOOP-827:
----------------------------------------
Hi Mengwei,
I wrote this test case. For passing the test I used null in assertEquals. Empty
map is set to MMapInput and while restore I think it should return a empty map.
> 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