GitHub user iyerr3 opened a pull request:
https://github.com/apache/incubator-madlib/pull/21
Path: Allow multiple matches in single partition
JIRA: MADLIB-917
Path query was rewritten to use array functions. This was necessary
since multiple matches produced a set of matches for each group. This
set value has to be unnest - this was not possible in GPDB since the
GROUP BY placed the executor in a context that does not allow SRF.
Solution was to avoid the unnest by using array functions for all
computations and finally unnesting without the GROUP BY.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/iyerr3/incubator-madlib
feature/path_multiple_matches
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-madlib/pull/21.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 #21
----
commit 28d84ff91d4c20d2bfb68bdd051332a645324a39
Author: Rahul Iyer <[email protected]>
Date: 2015-12-24T22:15:36Z
Path: Allow multiple matches in single partition
JIRA: MADLIB-917
Path query was rewritten to use array functions. This was necessary
since multiple matches produced a set of matches for each group. This
set value has to be unnest - this was not possible in GPDB since the
GROUP BY placed the executor in a context that does not allow SRF.
Solution was to avoid the unnest by using array functions for all
computations and finally unnesting without the GROUP BY.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---