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


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

        

Reply via email to