You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org> on 2012/03/28 04:45:22 UTC

[jira] [Commented] (SQOOP-470) Create tests for blob support for Avro import

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

jiraposter@reviews.apache.org commented on SQOOP-470:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4527/
-----------------------------------------------------------

Review request for Sqoop, Arvind Prabhakar and Bilung Lee.


Summary
-------

Add Avro blob import tests as part of thrid party test suite since Hsqldb does not support BLOB/CLOB type.

The changes include:

- abstract LobAvroImportTestCase class
  1) testBlobAvroImportInline: test inline import
  2) testBlobAvroImportExternal: test external file import
  3) testBlobAvroImportMultiCols: test multiple columns import

- OracleLobAvroImportTest class
- MySQLLobAvroImportTest class


This addresses bug SQOOP-470.
    https://issues.apache.org/jira/browse/SQOOP-470


Diffs
-----

  ./src/test/com/cloudera/sqoop/manager/MySQLLobAvroImportTest.java PRE-CREATION 
  ./src/test/com/cloudera/sqoop/manager/OracleLobAvroImportTest.java PRE-CREATION 
  ./src/test/com/cloudera/sqoop/testutil/LobAvroImportTestCase.java PRE-CREATION 

Diff: https://reviews.apache.org/r/4527/diff


Testing
-------

Tested with Oracle XE 10g and MySQL 5.1

Ran ant test
Ran ant test -Dthirdparty=true
Ran ant checkstyle


Thanks,

Cheolsoo


                
> Create tests for blob support for Avro import
> ---------------------------------------------
>
>                 Key: SQOOP-470
>                 URL: https://issues.apache.org/jira/browse/SQOOP-470
>             Project: Sqoop
>          Issue Type: Sub-task
>            Reporter: Cheolsoo Park
>            Assignee: Cheolsoo Park
>
> Create tests for blob support for Avro import

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira