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/04/08 08:25:25 UTC
[jira] [Commented] (HAWQ-642) Appendonlywriter.c assign useless
segfilestatus for invalid segno
[ https://issues.apache.org/jira/browse/HAWQ-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15231707#comment-15231707 ]
ASF GitHub Bot commented on HAWQ-642:
-------------------------------------
GitHub user ictmalili opened a pull request:
https://github.com/apache/incubator-hawq/pull/569
HAWQ-642. Make sure the number of records generated in AppendOnlyWrit…
…er equal to the number of QEs in function SetSegnoForWrite when we do insert/copy
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ictmalili/incubator-hawq HAWQ-642
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-hawq/pull/569.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 #569
----
commit e10497f58b0c6868e99bfa1d869d891a451111f0
Author: Lili Ma <ic...@gmail.com>
Date: 2016-04-08T06:24:00Z
HAWQ-642. Make sure the number of records generated in AppendOnlyWriter equal to the number of QEs in function SetSegnoForWrite when we do insert/copy
----
> Appendonlywriter.c assign useless segfilestatus for invalid segno
> -----------------------------------------------------------------
>
> Key: HAWQ-642
> URL: https://issues.apache.org/jira/browse/HAWQ-642
> Project: Apache HAWQ
> Issue Type: Bug
> Reporter: Lili Ma
> Assignee: Lei Chang
>
> When we want to insert data to an existing ao/parquet table, for example,
> {code} insert into a select * from a; {code}
> if the table has already 2 files on HDFS, and 6 QEs are assigned for this new insert statement, in function SetSegnoForWrite, there are totally 8 records generated into AOSegfileStatusPool. Actually this is not correct, we only need 6 records inserted, which means, one seg file for one QE.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)