[ https://issues.apache.org/jira/browse/HIVE-22191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16940908#comment-16940908 ]
Akos Dombi commented on HIVE-22191: ----------------------------------- thank you [~abstractdog]! > Simplify SemanticAnalyzer by removing unused code > ------------------------------------------------- > > Key: HIVE-22191 > URL: https://issues.apache.org/jira/browse/HIVE-22191 > Project: Hive > Issue Type: Task > Components: CBO, Hive > Reporter: Akos Dombi > Assignee: Akos Dombi > Priority: Major > Fix For: 4.0.0 > > Attachments: HIVE-22191.2.patch, HIVE-22191.3.patch, > HIVE-22191.4.patch, HIVE-22191.5.patch, HIVE-22191.5.patch, HIVE-22191.patch > > > Simplify {{SemanticAnalyzer}} by: > - Remove dead code > - Simplify returning statements > - Use interfaces types for parameters/fields/variables where it is > straightforward to migrate > - Make visibility stricter where it is possible > - Check logging to use parametrised logging > - Removing unnecessary keywords (e.g.: {{static}}) > - Some code part could be simplified by using Java 8 features > I think this is crucial step as this class already contains 15000+ lines of > code which is screaming for splitting into more reasonable classes. -- This message was sent by Atlassian Jira (v8.3.4#803005)