[
https://issues.apache.org/jira/browse/HIVE-20919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16689496#comment-16689496
]
Miklos Gergely commented on HIVE-20919:
---------------------------------------
[~ashutoshc]
{color:#FF0000}ERROR:{color} -1 due to no test(s) being added or modified.
this is intentional, this patch is a refactoring patch and the refactored code
part is covered by unit and integration tests. So by definition no tests were
modified / added, but they all still running fine.
> Break up UpdateDeleteSemanticAnalyzer
> -------------------------------------
>
> Key: HIVE-20919
> URL: https://issues.apache.org/jira/browse/HIVE-20919
> Project: Hive
> Issue Type: Improvement
> Components: Transactions
> Affects Versions: 3.2.0
> Reporter: Miklos Gergely
> Assignee: Miklos Gergely
> Priority: Major
> Fix For: 3.2.0
>
> Attachments: HIVE-20919.01.patch, HIVE-20919.02.patch,
> HIVE-20919.03.patch, HIVE-20919.04.patch, HIVE-20919.05.patch,
> HIVE-20919.06.patch, HIVE-20919.07.patch
>
>
> UpdateDeleteSemanticAnalyzer handles update, delete, acid export and merge
> queries by rewriting them to a different form. This is a clear violation of
> [SRP|https://en.wikipedia.org/wiki/Single_responsibility_principle], and
> therefore needs to be refactored. An abstract ancestor needs to take the
> common part, and each of the specific tasks should be handled by a separate
> class.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)