Uploaded image for project: 'Sqoop'
  1. Sqoop
  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

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

              Dates

              • Created:
                Updated:
                Resolved: