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

OrcFile table property names are specified as strings

    XMLWordPrintableJSON

Details

    • (none, this is minor refactoring so as to avoid future issues where new orc properties are added and not accounted for in HCatalog/etc)

    Description

      In HIVE-5504, we had to do some special casing in HCatalog to add a particular set of orc table properties from table properties to job properties.

      In doing so, it's obvious that that is a bit cumbersome, and ideally, the list of all orc file table properties should really be an enum, rather than individual loosely tied constant strings. If we were to clean this up, we can clean up other code that references this to reference the entire enum, and avoid future errors when new table properties are introduced, but other referencing code is not updated.

      Attachments

        1. HIVE-6507.2.patch
          6 kB
          Sushanth Sowmyan
        2. HIVE-6507.patch
          6 kB
          Sushanth Sowmyan

        Issue Links

          Activity

            People

              sushanth Sushanth Sowmyan
              sushanth Sushanth Sowmyan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: