You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/12/29 04:21:49 UTC
[jira] [Commented] (HAWQ-219) Built-in function
gp_persistent_build_all doesn't reshape gp_persistent_relation_node table
[ https://issues.apache.org/jira/browse/HAWQ-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15073414#comment-15073414 ]
ASF GitHub Bot commented on HAWQ-219:
-------------------------------------
GitHub user liming01 opened a pull request:
https://github.com/apache/incubator-hawq/pull/223
HAWQ-219. Rebuild gp_persistent_relation_node when rebuilding persistent tables
Fixed bug: Built-in function gp_persistent_build_all doesn't reshape gp_persistent_relation_node table. No need to add info for heap tables.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/liming01/incubator-hawq mli/rebld_gp_persistent_relation_node
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-hawq/pull/223.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 #223
----
commit d1524b52f38c8023e06037f9938bdc5f5e4c695d
Author: Ming LI <ml...@pivotal.io>
Date: 2015-12-29T03:18:22Z
HAWQ-219. Rebuild gp_persistent_relation_node when calling gp_persistent_build_all()
----
> Built-in function gp_persistent_build_all doesn't reshape gp_persistent_relation_node table
> -------------------------------------------------------------------------------------------
>
> Key: HAWQ-219
> URL: https://issues.apache.org/jira/browse/HAWQ-219
> Project: Apache HAWQ
> Issue Type: Bug
> Components: Catalog
> Reporter: Dong Li
> Assignee: Lei Chang
>
> {code}
> select gp_persistent_reset_all();
> select gp_persistent_build_all(false);
> e=# select * from gp_persistent_relation_node ;
> tablespace_oid | database_oid | relfilenode_oid | persistent_state | reserved | parent_xid | persistent_serial_num | previous_free_tid
> ----------------+--------------+-----------------+------------------+----------+------------+-----------------------+-------------------
> (0 rows)
> {code}
> Function gp_persistent_build_all will call function PersistentBuild_BuildDb.
> But the PersistentBuild_BuildDb function only reshapes gp_persistent_database_node and gp_persistent_relfile_node.
> It doesn't reshape gp_persistent_relation_node table.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)