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

Allow rules-based column mapping

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 1.4.6
    • None
    • codegen, connectors, test, tools
    • 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

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

              Dates

                Created:
                Updated: