[ 
https://issues.apache.org/jira/browse/TAJO-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14234910#comment-14234910
 ] 

ASF GitHub Bot commented on TAJO-1213:
--------------------------------------

GitHub user blrunner opened a pull request:

    https://github.com/apache/tajo/pull/285

    TAJO-1213: Implement CatalogStore::updateTableStats

    I added a method to update TableStats at CatalogStore. For reference, all 
unit cases for physical operators verify output row numbers and it finished 
successfully with my patch. So, I didn't implement unit test cases. In 
addition, HCatalogStore::updateTableStats is dummy method. Because hive don't 
provide no api to update table row numbers.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/blrunner/tajo TAJO-1213

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/285.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #285
    
----
commit 400130ef27056c08d93a6385c7c7a6d74c092e5f
Author: JaeHwa Jung <[email protected]>
Date:   2014-12-04T09:08:48Z

    TAJO-1213: Implement CatalogStore::updateTableStats.

commit b68195c803bbf09556e78e6194a23f8173fcaa32
Author: JaeHwa Jung <[email protected]>
Date:   2014-12-04T09:15:12Z

    Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into 
TAJO-1213

----


> Implement CatalogStore::updateTableStats
> ----------------------------------------
>
>                 Key: TAJO-1213
>                 URL: https://issues.apache.org/jira/browse/TAJO-1213
>             Project: Tajo
>          Issue Type: Improvement
>          Components: catalog
>            Reporter: Jaehwa Jung
>            Assignee: Jaehwa Jung
>
> Currently, there is no method to update existing table information at 
> CatalogStore. So, if user execute an insert query, tajo drop a table and then 
> tajo create a table. It doesn't matter to tajo own CatalogStore like 
> DerbyStore, MySQLStore. But it is a critical issue to HCatalogStore. if tajo 
> drop a existing partitioned table, users will lose existing partition 
> informations. As a result, they should repair table partition against their 
> will. As you know, hive msck command can affect hive metastore performance.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to