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

ASF GitHub Bot commented on HAWQ-10:
------------------------------------

GitHub user jianlirong opened a pull request:

    https://github.com/apache/incubator-hawq/pull/13

    HAWQ-10. Skip hcatalog database when calculating the sizes of databases

    Update the gp_toolkit.sql.in to skip hcatalog database when calculating the 
sizes of database.

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

    $ git pull https://github.com/jianlirong/incubator-hawq hawq-10

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

    https://github.com/apache/incubator-hawq/pull/13.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 #13
    
----
commit d6ac62b7c4569e9320e395beaa04db24e9e3b011
Author: Lirong Jian <[email protected]>
Date:   2015-10-10T03:10:12Z

    HAWQ-10. Skip hcatalog database when calculating the sizes of databases

----


> hcatalog database causes errors for hawq_toolkit.hawq_size_of_database
> ----------------------------------------------------------------------
>
>                 Key: HAWQ-10
>                 URL: https://issues.apache.org/jira/browse/HAWQ-10
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: External Tables & PXF
>            Reporter: Lirong Jian
>            Assignee: Lirong Jian
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Since the hcatalog database is not a normal database, it would cause some 
> errors when querying hawq_toolkit.hawq_size_of_database.
> Following is an example:
> SELECT * FROM hawq_toolkit.hawq_size_of_database;
> ERROR:  database with OID 6120 does not exist (dbsize.c:219)
> OID 6120 database is the hcatalog database.



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

Reply via email to