Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Hive DDL has multiple problems:
- DDLTask is a huge class, needs to be cut to smaller pieces
- DDLSemanticAnalyzer is a huge class, needs to be cut to smaller pieces
- DDLWork has a bad structure by having a field for every possible DDL operation
- DDLDesc subclasses are put into one package which has an endless list of classes, should be separated by subjects
- Many DDLDesc subclasses are not immutable