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

Remove discriminator column

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.1.0
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: