Namit Jain created HIVE-3119: -------------------------------- Summary: Cleanup MTable constructors Key: HIVE-3119 URL: https://issues.apache.org/jira/browse/HIVE-3119 Project: Hive Issue Type: Bug Reporter: Namit Jain
MTable has a lot of fields, and a common public constructor which takes all the inputs. The burden is on ObjectStore to pass the appropriate parameters. For example, the view parameters do not make sense for certain table types. The view parameters and the link parameters can never be set together. It would be good to breakup the constructor for MTable into multiple valid constructors, and that reduces the chances of error from ObjectStore. Although this is not directly linked to HIVE-2989, marking it a related jira since links added more parameters to MTable, thereby increasing the problem. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira