Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-2612

Allow rules-based column mapping

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.4.6
    • Fix Version/s: None
    • Component/s: codegen, connectors, test, tools
    • Labels:
      None

      Description

      Allow users to map source columns to Java and Avro types based on rules rather than a list.

      About half the data types on my current project are NUMERIC, and many of those have a SCALE of 0. It would be helpful to be able to process those as Integers or Longs. The map-column-java feature is helpful, but it requires continuous surveillance of the source tables and maintenance of lists of columns and what type they should be mapped to.

      It would be helpful to be able to create a rules-based interpretation of the type inference provided by Sqoop.

        Attachments

        1. SQOOP-2612-2.patch
          40 kB
          John Todd
        2. SQOOP-2612.patch
          28 kB
          John Todd

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                proftodd John Todd
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: