Sqoop
  1. Sqoop
  2. SQOOP-414

Column names are not guaranteed in order for getColumnNames of OracleManager

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.1-incubating
    • Component/s: None
    • Labels:
      None

      Description

      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.

      1. SQOOP-414.patch
        0.6 kB
        Bilung Lee

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Bilung Lee
            Reporter:
            Bilung Lee
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development