[
https://issues.apache.org/jira/browse/SQOOP-414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13172672#comment-13172672
]
Arvind Prabhakar commented on SQOOP-414:
----------------------------------------
Changes look good Bilung.
> 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
> 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