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

Add an option for uppercase/lowercase column name mapping between HCatalog and RDBMS cloumn name list

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 1.5.0
    • None
    • None

    Description

      The current implementation of HCatalog related export works out of the box with RDBMS systems (e.g. Oracle) if the column names match case sensitive, although in several cases the column names are received as an UPPER_CASE list from the RDBMS, and thus the export fails, within the ClassWriter.

      Although the users have the possibility to define the name of the columns explicit with the --columns option, in case of 100+ columns it's not practical.

      It would be great to have an option which could do the matching in lower and UPPER case as well. The start point for this implementation should start from SqoopHCatUtilities#configureHCat method with respect to ensure HCatalog api is able to handle the different cased column names.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              maugli Attila Szabo
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: