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

Sqoop2: Postgresql's detectRepositoryVersion uses wrong casing

    XMLWordPrintableJSON

Details

    Description

      Notice the use of toLowerCase() below:

      metadataResultSet = md.getTables(null,
                CommonRepositorySchemaConstants.SCHEMA_SQOOP.toLowerCase(),
                CommonRepositorySchemaConstants.TABLE_SQ_SYSTEM_NAME.toLowerCase(), null);
      

      This was done before we were escaping all identifiers. Now that SQOOP-2041 is in, we shouldn't be doing this.

      Attachments

        1. SQOOP-2099.1.patch
          3 kB
          Abraham Elmahrek
        2. SQOOP-2099.0.patch
          1 kB
          Abraham Elmahrek

        Activity

          People

            abec Abraham Elmahrek
            abec Abraham Elmahrek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: