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

Do not initiate Deserializer for DescTable operation when it's not needed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 3.0.0, 4.0.0
    • None
    • Clients, Hive
    • None

    Description

      For `desc table ` queries, DescTableOperation always creates a Deserializer object, even though it's not often needed. 

      What is worse is that if a table is backed on some particular SerDe class, uses have no chance to desc table without adding appropriate jar files. With this patch, users at least are able to desc tables when they only need metadata of the table, especially in a shared Hive environment.

      For above two reasons, it's better to create Deserializer object only when it's needed.

      Attachments

        1. HIVE-22669.patch
          0.9 kB
          ouchengeng
        2. HIVE-22669.patch
          0.9 kB
          ouchengeng

        Activity

          People

            chengeng ouchengeng
            chengeng ouchengeng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: