[
https://issues.apache.org/jira/browse/SQOOP-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15131760#comment-15131760
]
ASF subversion and git services commented on SQOOP-2797:
--------------------------------------------------------
Commit cea627fa1465a4a900c8ad02934df568f93f45b1 in sqoop's branch
refs/heads/sqoop2 from [~jarcec]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=cea627f ]
SQOOP-2797: Sqoop2: Add new schema object for the Blob
(Colin Ma via Jarek Jarcec Cecho)
> 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)