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 2015/01/21 23:12:35 UTC
[jira] [Commented] (SQOOP-2021) Sqoop2: Generic JDBC Connector
extractor uses wrong nulls
[ https://issues.apache.org/jira/browse/SQOOP-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14286397#comment-14286397 ]
Veena Basavaraj commented on SQOOP-2021:
----------------------------------------
locally all tests pass
> Sqoop2: Generic JDBC Connector extractor uses wrong nulls
> ---------------------------------------------------------
>
> Key: SQOOP-2021
> URL: https://issues.apache.org/jira/browse/SQOOP-2021
> Project: Sqoop
> Issue Type: Bug
> Reporter: Veena Basavaraj
> Assignee: Veena Basavaraj
> Priority: Blocker
> Fix For: 1.99.5
>
> Attachments: SQOOP-2021.patch
>
>
> public static final String SQL_NULL_VALUE = "null";
> {code}
> if(resultSet.getObject(i + 1) == null) {
> array[i] = GenericJdbcConnectorConstants.SQL_NULL_VALUE ;
> continue;
> }
> {code}
> a null should be object null and not STRING null
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)