You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Sourabh Goyal (Jira)" <ji...@apache.org> on 2021/10/20 09:36:00 UTC

[jira] [Created] (IMPALA-10975) Minor refactoring in alter table DDL operation in catalogd

Sourabh Goyal created IMPALA-10975:
--------------------------------------

             Summary: Minor refactoring in alter table DDL operation in catalogd
                 Key: IMPALA-10975
                 URL: https://issues.apache.org/jira/browse/IMPALA-10975
             Project: IMPALA
          Issue Type: Improvement
          Components: Catalog, Frontend
            Reporter: Sourabh Goyal
            Assignee: Sourabh Goyal


For almost all alter table DDL operations in catalogOpExecutor, we add table to catalog update if reloadMetadata is true in the end. However for certain sub ddl operations like ADD and DROP partitions, the table to update catalog is performed locally. This Jira is to refactor addTableToCatalogUpdate() and call it from one place for all the sub ddls. This refactoring would be helpful when we introduce code changes of syncing db/table to latest event id from catalogOpExecutor in future. 

 

cc - [~vihangk1]



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