[ 
https://issues.apache.org/jira/browse/SQOOP-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Colin Ma updated SQOOP-2797:
----------------------------
    Description: 
When extract the data from database, the following code segment will be used to 
transform Blob into byte[],
Blob blob = resultSet.getBlob(i + 1);
byte[] bytes = blob.getBytes(1, (int)blob.length());
Add new schema object for the Blob to deal with this specific situation.


  was:
When extract the data from database, the following code segment will be used to 
transform Blob into byte[],
Blob blob = resultSet.getBlob(i + 1);
byte[] bytes = blob.getBytes(1, (int)blob.length());
Add new 



> 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
>
>
> When extract the data from database, the following code segment will be used 
> to transform Blob into byte[],
> Blob blob = resultSet.getBlob(i + 1);
> byte[] bytes = blob.getBytes(1, (int)blob.length());
> Add new schema object for the Blob to deal with this specific situation.



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

Reply via email to