hawq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From weinan003 <...@git.apache.org>
Subject [GitHub] incubator-hawq pull request #1361: HAWQ-1612. Implement vectorized aggregate...
Date Thu, 10 May 2018 07:43:14 GMT
Github user weinan003 commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq/pull/1361#discussion_r187261983
  
    --- Diff: contrib/vexecutor/vagg.h ---
    @@ -0,0 +1,94 @@
    +#ifndef VAGG_H
    +#define VAGG_H
    +
    +#include "executor/execHHashagg.h"
    +
    +/* batch hashagg group linklist header */
    +typedef struct GroupData {
    +	HashAggEntry *entry;	// pointer to agg_hash_entry
    +	int idx; 				// pointer to idx_list
    +} GroupData;
    +
    +/* batch hashagg group data */
    +typedef struct BatchAggGroupData{
    +	GroupData 	group_header[1024];	//group linklist header
    --- End diff --
    
    variable **BATCHSIZE** in *vexecutor.c* indicate the number of slots the TupleBatch hold.


---

Mime
View raw message