Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-3119

Cleanup MTable constructors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              namit Namit Jain
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: