You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2013/12/05 00:05:35 UTC

[jira] [Created] (HIVE-5951) improve performance of adding partitions from client

Sergey Shelukhin created HIVE-5951:
--------------------------------------

             Summary: improve performance of adding partitions from client
                 Key: HIVE-5951
                 URL: https://issues.apache.org/jira/browse/HIVE-5951
             Project: Hive
          Issue Type: Improvement
            Reporter: Sergey Shelukhin
            Assignee: Sergey Shelukhin


Adding partitions to metastore is currently very inefficient. There are small things like, for !ifNotExists case, DDLSemanticAnalyzer gets the full partition object for every spec (which is a network call to metastore), and then discards it instantly; there's also general problem that too much processing is done on client side. DDLSA should analyze the query and make one call to metastore (or maybe a set of batched  calls if there are too many partitions in the command), metastore should then figure out stuff and insert in batch.




--
This message was sent by Atlassian JIRA
(v6.1#6144)