sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Jarcec Cecho (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SQOOP-414) Column names are not guaranteed in order for getColumnNames of OracleManager
Date Sun, 08 Jan 2012 16:47:40 GMT

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

Jarek Jarcec Cecho updated SQOOP-414:
-------------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Patch for this issue is already committed, so I'm closing this JIRA.
                
> Column names are not guaranteed in order for getColumnNames of OracleManager
> ----------------------------------------------------------------------------
>
>                 Key: SQOOP-414
>                 URL: https://issues.apache.org/jira/browse/SQOOP-414
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Bilung Lee
>            Assignee: Bilung Lee
>             Fix For: 1.4.1-incubating
>
>         Attachments: SQOOP-414.patch
>
>
> OracleManager uses the following query to retrieve column names:
> public static final String QUERY_COLUMNS_FOR_TABLE =
>   "SELECT COLUMN_NAME FROM ALL_TAB_COLUMNS WHERE "
>   + "OWNER = ? AND TABLE_NAME = ?";
> However, it does not guarantee the order of the returned column names
> unless a "ORDER BY" is specified.  This may not work properly for newer
> version of Oracle.

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