[
https://issues.apache.org/jira/browse/HAWQ-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15008094#comment-15008094
]
Lirong Jian commented on HAWQ-147:
----------------------------------
It seems parquet tables would corrupt the meta-data of the database template1,
and then cause CREATE DATABASE fail (since by default, the template1 is used as
the template database).
> 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: Lirong Jian
>
> 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)