You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Sqoop QA bot (JIRA)" <ji...@apache.org> on 2016/07/28 01:51:20 UTC

[jira] [Commented] (SQOOP-2838) Sqoop2: Add new schema object for the Clob

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

Sqoop QA bot commented on SQOOP-2838:
-------------------------------------

Testing file [SQOOP-2838.patch|https://issues.apache.org/jira/secure/attachment/12788160/SQOOP-2838.patch] against branch sqoop2 took 1:27:53.166160.

{color:green}Overall:{color} +1 all checks pass

{color:green}SUCCESS:{color} Clean was successful
{color:green}SUCCESS:{color} Patch applied correctly
{color:green}SUCCESS:{color} Patch add/modify test case
{color:green}SUCCESS:{color} License check passed
{color:green}SUCCESS:{color} Patch compiled
{color:green}SUCCESS:{color} All unit tests passed (executed 1764 tests)
{color:green}SUCCESS:{color} Test coverage did not decreased ([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/2405/artifact/patch-process/cobertura_report.txt])
{color:green}SUCCESS:{color} No new findbugs warnings ([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/2405/artifact/patch-process/findbugs_report.txt])
{color:green}SUCCESS:{color} All integration tests passed (executed 233 tests)

Console output is available [here|https://builds.apache.org/job/PreCommit-SQOOP-Build/2405/console].

This message is automatically generated.

> Sqoop2: Add new schema object for the Clob
> ------------------------------------------
>
>                 Key: SQOOP-2838
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2838
>             Project: Sqoop
>          Issue Type: Improvement
>            Reporter: Colin Ma
>            Assignee: Colin Ma
>             Fix For: 1.99.8
>
>         Attachments: SQOOP-2838.patch, SQOOP-2838.patch
>
>
> When extract the data from database, the following code segment will be used to transform {{Clob}} into {{String}}:
> {code}
> Clob clob = resultSet.getClob(i + 1);
> array[i] = clob.getSubString(1, (int)clob.length());
> {code}
> Add new schema object for the {{Clob}} to deal with this specific situation.



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