You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Bilung Lee (Updated) (JIRA)" <ji...@apache.org> on 2011/12/19 21:55:30 UTC
[jira] [Updated] (SQOOP-414) Column names are not guaranteed in
order for getColumnNames of OracleManager
[ https://issues.apache.org/jira/browse/SQOOP-414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bilung Lee updated SQOOP-414:
-----------------------------
Attachment: SQOOP-414.patch
> 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
> 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