Antonin Houska wrote:
> This is another version of the patch.
> shard.tgz demonstrates the typical postgres_fdw use case. One query shows base
> scans of base relation's partitions being pushed to shard nodes, the other
> pushes down a join and performs aggregation of the join result on the remo
On Fri, Sep 8, 2017 at 7:04 PM, Antonin Houska wrote:
> Ashutosh Bapat wrote:
>
>> On Thu, Aug 17, 2017 at 8:52 PM, Antonin Houska wrote:
>> > Antonin Houska wrote:
>> >
>> >> Antonin Houska wrote:
>> >>
>> >> > This is a new version of the patch I presented in [1].
>> >>
>> >> Rebased.
>> >>
Ashutosh Bapat wrote:
> On Thu, Aug 17, 2017 at 8:52 PM, Antonin Houska wrote:
> > Antonin Houska wrote:
> >
> >> Antonin Houska wrote:
> >>
> >> > This is a new version of the patch I presented in [1].
> >>
> >> Rebased.
> >>
> >> cat .git/refs/heads/master
> >> b9a3ef55b253d885081c2d0e9dc458
Jeevan Chalke wrote:
> 1.
> + if (aggref->aggvariadic ||
> + aggref->aggdirectargs || aggref->aggorder ||
> + aggref->aggdistinct || aggref->aggfilter)
>
> I did not understand, why you are not pushing aggregate in above cases?
> Can you please explain?
Currently I'm trying to implement infrast
On Thu, Aug 17, 2017 at 10:22 AM, Antonin Houska wrote:
> Antonin Houska wrote:
> output type. For other aggregates (like avg()) the remote nodes will have to
> return the transient state value in an appropriate form (maybe bytea type),
> which does not depend on PG version.
Hm, that seems like
On Thu, Aug 17, 2017 at 8:52 PM, Antonin Houska wrote:
> Antonin Houska wrote:
>
>> Antonin Houska wrote:
>>
>> > This is a new version of the patch I presented in [1].
>>
>> Rebased.
>>
>> cat .git/refs/heads/master
>> b9a3ef55b253d885081c2d0e9dc45802cab71c7b
>
> This is another version of the
Hi Antonin,
To understand the feature you have proposed, I have tried understanding
your patch. Here are few comments so far on it:
1.
+ if (aggref->aggvariadic ||
+ aggref->aggdirectargs || aggref->aggorder ||
+ aggref->aggdistinct || aggref->aggfilter)
I did not
Antonin Houska wrote:
> Antonin Houska wrote:
>
> > This is a new version of the patch I presented in [1].
>
> Rebased.
>
> cat .git/refs/heads/master
> b9a3ef55b253d885081c2d0e9dc45802cab71c7b
This is another version of the patch.
Besides other changes, it enables the aggregation push-dow