[
https://issues.apache.org/jira/browse/CALCITE-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16818675#comment-16818675
]
Chunwei Lei edited comment on CALCITE-2343 at 4/16/19 6:16 AM:
---------------------------------------------------------------
This also occurs in {{ProjectCorrelateRule}} and {{ProjectSetOpRule}} due to
the same reason that {{RexOver}} is pushed down incorrectly which is recorded
in CALCITE-3004.
was (Author: chunwei lei):
This also occurs in {{ProjectCorrelateRule}} and {{ProjectSetOpRule}} due to
the same reason that {{RexOver}} is pushed down incorrectly which is recorded
in[ CALCITE-3004|https://issues.apache.org/jira/browse/CALCITE-3004].
> PushProjector with OVER expression causing infinite loop
> --------------------------------------------------------
>
> Key: CALCITE-2343
> URL: https://issues.apache.org/jira/browse/CALCITE-2343
> Project: Calcite
> Issue Type: Bug
> Reporter: Laurent Goujon
> Assignee: Chunwei Lei
> Priority: Major
> Labels: pull-request-available
> Time Spent: 4h 10m
> Remaining Estimate: 0h
>
> When applying the {{ProjectJoinTransposeRule}} on a project with a Rex
> expression containing a RexOver call (using HepPlanner), this might cause an
> infinite loop (and ultimately a StackOverflowError exception) as
> PushProjector identify the RexOver call as to be push down under the join,
> but doesn't not rewrite correctly the top Project expression.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)