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

Sqoop2: Add support for full table names into our DatabaseProvider infrastructure

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.99.5
    • Fix Version/s: 1.99.6
    • Component/s: None
    • Labels:
      None

      Description

      Currently our DatabaseProviders have various methods that accepts String as a table name. This imposes a problem as when we need to add schema name, we need to create additional set of methods which is unfortunate. It's also a bit of a problem because we're heavily using variable length arguments when we can easily get to ambiguous method calls.

      Hence I would like to propose introducing a TableName class that will encode all that is necessary to describe table names - table name itself and then optional parts such as schema or database name.

        Attachments

        1. SQOOP-2242.patch
          50 kB
          Jarek Jarcec Cecho

          Issue Links

            Activity

              People

              • Assignee:
                jarcec Jarek Jarcec Cecho
                Reporter:
                jarcec Jarek Jarcec Cecho
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: