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/02/04 05:26:39 UTC

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

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

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

Testing file [SQOOP-2797.patch|https://issues.apache.org/jira/secure/attachment/12786178/SQOOP-2797.patch] against branch sqoop2 took 1:09:46.200287.

{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 1676 tests)
{color:green}SUCCESS:{color} Test coverage did not decreased ([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/2170/artifact/patch-process/cobertura_report.txt])
{color:green}SUCCESS:{color} No new findbugs warnings ([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/2170/artifact/patch-process/findbugs_report.txt])
{color:green}SUCCESS:{color} All integration tests passed (executed 200 tests)

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

This message is automatically generated.

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



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