sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jiraposter@reviews.apache.org (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-467) Add support for Oracle BINARY_FLOAT and BINARY_DOUBLE data types
Date Thu, 05 Apr 2012 04:33:40 GMT

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

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


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

(Updated 2012-04-05 04:30:35.627666)


Review request for Sqoop.


Changes
-------

Simplify tests.


Summary
-------

Sqoop import does not support BINARY_FLOAT and BINARY_DOUBLE for Oracle db.

The patch includes:
1) Map BINARY_FLOAT and BINARY_DOUBLE to Java float and double for Oracle.
2) Add test cases to OracleCompatTest to verify the mapping.


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


Diffs (updated)
-----

  /src/java/org/apache/sqoop/manager/OracleManager.java 1309536 
  /src/test/com/cloudera/sqoop/manager/OracleCompatTest.java 1309536 

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


Testing
-------

1) Verified with Oracle XE 10g that new tests pass.
2) Ran ant test, ant test -Dthirdparty=true, and ant checkstyle.


Thanks,

Cheolsoo


                
> Add support for Oracle BINARY_FLOAT and BINARY_DOUBLE data types
> ----------------------------------------------------------------
>
>                 Key: SQOOP-467
>                 URL: https://issues.apache.org/jira/browse/SQOOP-467
>             Project: Sqoop
>          Issue Type: Improvement
>          Components: connectors
>    Affects Versions: 1.4.1-incubating
>            Reporter: Prashant Gokhale
>            Assignee: Cheolsoo Park
>
> I get this error when I try to run import from Oracle table which has columns of type
BINARY_FLOAT and BINARY_DOUBLE.
> {noformat}
> 12/03/23 11:19:05 ERROR orm.ClassWriter: Cannot resolve SQL type 100
> 12/03/23 11:19:05 ERROR orm.ClassWriter: Cannot resolve SQL type 101
> 12/03/23 11:19:05 ERROR orm.ClassWriter: No Java type for SQL type 100 for column B
> 12/03/23 11:19:05 ERROR orm.ClassWriter: No Java type for SQL type 101 for column C
> {noformat}

--
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

        

Mime
View raw message