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 2016/01/26 09:39:39 UTC
[jira] [Commented] (HAWQ-147) Create Parquet table and insert data
in template1 would cause CREATE DATABASE fail.
[ https://issues.apache.org/jira/browse/HAWQ-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15116928#comment-15116928 ]
ASF GitHub Bot commented on HAWQ-147:
-------------------------------------
GitHub user ztao1987 opened a pull request:
https://github.com/apache/incubator-hawq/pull/295
HAWQ-147. Fix a bug of creating database failed due to parquet table …
Bug HAWQ-147: Create Parquet table and insert data in template1 would cause CREATE DATABASE fail.
Reproduce steps:
$ psql -d template1
psql (8.2.15)
Type "help" for help.
template1=# CREATE TABLE foo (
template1(# a INT)
template1-# WITH (appendonly=true, orientation=parquet);
CREATE TABLE
template1=# INSERT INTO foo VALUES(1);
INSERT 0 1
template1=# CREATE DATABASE gptest;
ERROR: Append-Only relation 'foo' gp_relation_node entry for segment file #1 without an aoseg entry (case #2) (cdbdatabaseinfo.c:1554)
template1=#
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ztao1987/incubator-hawq HAWQ-147
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-hawq/pull/295.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 #295
----
commit de263810082d4331b525a9fdc1d340b943fba350
Author: zhenglin tao <zh...@gmail.com>
Date: 2016-01-26T08:23:37Z
HAWQ-147. Fix a bug of creating database failed due to parquet table exist in template1
----
> Create Parquet table and insert data in template1 would cause CREATE DATABASE fail.
> -----------------------------------------------------------------------------------
>
> Key: HAWQ-147
> URL: https://issues.apache.org/jira/browse/HAWQ-147
> Project: Apache HAWQ
> Issue Type: Bug
> Components: Command Line Tools
> Reporter: Dong Li
> Assignee: Zhanwei Wang
> Fix For: 2.0.0
>
>
> Follow are the steps to reproduce this issue:
> $ psql -d template1
> psql (8.2.15)
> Type "help" for help.
> template1=# CREATE TABLE foo (
> template1(# a INT)
> template1-# WITH (appendonly=true, orientation=parquet);
> CREATE TABLE
> template1=# INSERT INTO foo VALUES(1);
> INSERT 0 1
> template1=# CREATE DATABASE gptest;
> ERROR: Append-Only relation 'foo' gp_relation_node entry for segment file #1 without an aoseg entry (case #2) (cdbdatabaseinfo.c:1554)
> template1=#
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)