[ 
https://issues.apache.org/jira/browse/OOZIE-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13737322#comment-13737322
 ] 

Rohini Palaniswamy commented on OOZIE-1463:
-------------------------------------------

Apart from unnecessary storage and retrieval of the same type again and again 
in this column, noticed that every object load query that happens also has a 
bean_type = ? condition as part of the query. 


Virag,
   There are 2 test failures. Can you take a look at them?
                
> Remove discriminator column
> ---------------------------
>
>                 Key: OOZIE-1463
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1463
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Virag Kothari
>            Assignee: Virag Kothari
>         Attachments: OOZIE-1463.patch, OOZIE-1463.patch
>
>
> All workflow, coord and bundle tables have a discriminator column.
> {code}
> @DiscriminatorColumn(name = "bean_type", discriminatorType = 
> DiscriminatorType.STRING)
> {code}
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to