Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-5500

Allow number of fields to be supplied when field names are not known in DBOutputFormat#setOutput()

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      DBOutputFormat expects the column names to be included in the query. However, if the field names are not available, only the number of fields is sufficient for preparing the SELECT query.

      This issue will add API support for supplying the number of fields in DBOutputFormat#setOutput().

      Please see HADOOP-4955 and HADOOP-5307 for related context.

        Attachments

        1. h5500_v1.patch
          6 kB
          Enis Soztutar

          Activity

            People

            • Assignee:
              enis Enis Soztutar
              Reporter:
              enis Enis Soztutar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: