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

Wrong query for getListColumnsQuery in PostgresqlManager

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0-incubating, 1.4.1-incubating
    • 1.4.2
    • connectors/postgresql
    • None
    • PostgreSQL 9.1

    Description

      When querying for column available in a postgres table from postgres catalog, it returns also the dropped columns from the table in object. It can be easily fixed adding the extra constraint "AND col.ATTISDROPPED = 'f'" at the end of the query which sort out the dropped columns.

      Attachments

        1. SQOOP-445.patch
          0.6 kB
          Cheolsoo Park
        2. SQOOP-445.patch
          0.6 kB
          Cheolsoo Park

        Activity

          People

            cheolsoo Cheolsoo Park
            menene Davide Grohmann
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified