You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "zhenglin tao (JIRA)" <ji...@apache.org> on 2016/01/26 14:00:41 UTC
[jira] [Resolved] (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:all-tabpanel ]
zhenglin tao resolved HAWQ-147.
-------------------------------
Resolution: Fixed
Assignee: zhenglin tao (was: Zhanwei Wang)
Root cause is that DatabaseInfo_Collect only handles ao, but missed the parquet part, which causes DbInfoRel of DatabaseInfo lacks of catalog segment info for parquet table.
> 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: zhenglin tao
> 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)