mirror of https://github.com/citusdata/citus.git
collapse closing braces as suggested by dim
parent
cc84b48fd1
commit
766ed2ad33
|
@ -777,6 +777,7 @@ GeoOverlapJoin(PlannerInfo *root, Path *originalPath)
|
||||||
originalPath,
|
originalPath,
|
||||||
MatchJoin(
|
MatchJoin(
|
||||||
JOIN_INNER,
|
JOIN_INNER,
|
||||||
|
/* match on join restriction info */
|
||||||
MatchJoinRestrictions(
|
MatchJoinRestrictions(
|
||||||
MatchExprNamedOperation(
|
MatchExprNamedOperation(
|
||||||
geometry_overlaps,
|
geometry_overlaps,
|
||||||
|
@ -786,31 +787,23 @@ GeoOverlapJoin(PlannerInfo *root, Path *originalPath)
|
||||||
MatchVar(),
|
MatchVar(),
|
||||||
CaptureMatch(
|
CaptureMatch(
|
||||||
&match.stdwithinDistanceConst,
|
&match.stdwithinDistanceConst,
|
||||||
MatchConst(MatchConstType(FLOAT8OID))
|
MatchConst(MatchConstType(FLOAT8OID)))))),
|
||||||
))
|
/* match inner path in join */
|
||||||
)),
|
|
||||||
SkipReadthrough(CaptureMatch(
|
SkipReadthrough(CaptureMatch(
|
||||||
&match.innerGrouping,
|
&match.innerGrouping,
|
||||||
MatchGrouping(CaptureMatch(
|
MatchGrouping(CaptureMatch(
|
||||||
&match.innerDistUnion,
|
&match.innerDistUnion,
|
||||||
MatchDistributedUnion(CaptureMatch(
|
MatchDistributedUnion(CaptureMatch(
|
||||||
&match.innerPath,
|
&match.innerPath,
|
||||||
MatchGeoScan
|
MatchGeoScan)))))),
|
||||||
)))
|
/* match outer path in join */
|
||||||
))
|
|
||||||
),
|
|
||||||
SkipReadthrough(CaptureMatch(
|
SkipReadthrough(CaptureMatch(
|
||||||
&match.outerGrouping,
|
&match.outerGrouping,
|
||||||
MatchGrouping(CaptureMatch(
|
MatchGrouping(CaptureMatch(
|
||||||
&match.outerDistUnion,
|
&match.outerDistUnion,
|
||||||
MatchDistributedUnion(CaptureMatch(
|
MatchDistributedUnion(CaptureMatch(
|
||||||
&match.outerPath,
|
&match.outerPath,
|
||||||
MatchGeoScan
|
MatchGeoScan))))))))
|
||||||
)))
|
|
||||||
))
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
/* have a match on the geo join pattern, all fields are stored in `match` */
|
/* have a match on the geo join pattern, all fields are stored in `match` */
|
||||||
ereport(DEBUG1, (errmsg("my custom code %p: %f",
|
ereport(DEBUG1, (errmsg("my custom code %p: %f",
|
||||||
|
|
Loading…
Reference in New Issue