Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-1463

Remove discriminator column

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.0
    • Component/s: None
    • Labels:

      Description

      All workflow, coord and bundle tables have a discriminator column.

      @DiscriminatorColumn(name = "bean_type", discriminatorType = DiscriminatorType.STRING)
      

      It is an extra column of no value.
      Also, there is inheritance hierarchy where *ActionBean inherits JSON*Action.
      The JSON**Action also doesn't seem to add any value. We can have all the columns of table, the corresponding setters and getters in one class.

        Attachments

        1. OOZIE-1463.patch
          212 kB
          Virag Kothari
        2. OOZIE-1463.patch
          212 kB
          Virag Kothari
        3. OOZIE-1463_1.patch
          213 kB
          Virag Kothari

          Issue Links

            Activity

              People

              • Assignee:
                virag Virag Kothari
                Reporter:
                virag Virag Kothari
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: