You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "ouchengeng (Jira)" <ji...@apache.org> on 2019/12/24 09:16:00 UTC

[jira] [Created] (HIVE-22669) Do not initiate Deserializer for DescTable operation when it's not needed

ouchengeng created HIVE-22669:
---------------------------------

             Summary: Do not initiate Deserializer for DescTable operation when it's not needed
                 Key: HIVE-22669
                 URL: https://issues.apache.org/jira/browse/HIVE-22669
             Project: Hive
          Issue Type: Improvement
          Components: Clients, Hive
    Affects Versions: 3.0.0
            Reporter: ouchengeng
            Assignee: ouchengeng


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

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

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)