mirror of https://github.com/citusdata/citus.git
We don't need to PartiallyEvaluateExpression on original limit/offset
parent
3d5660cb3f
commit
0f3531faea
|
@ -1665,10 +1665,6 @@ SubqueryPushdownMultiNodeTree(Query *originalQuery)
|
|||
* expression on the LIMIT and OFFSET clauses. Note that logical optimizer
|
||||
* expects those clauses to be already evaluated.
|
||||
*/
|
||||
extendedOpNode->originalLimitCount =
|
||||
PartiallyEvaluateExpression(extendedOpNode->originalLimitCount, NULL);
|
||||
extendedOpNode->originalLimitOffset =
|
||||
PartiallyEvaluateExpression(extendedOpNode->originalLimitOffset, NULL);
|
||||
extendedOpNode->limitCount =
|
||||
PartiallyEvaluateExpression(extendedOpNode->limitCount, NULL);
|
||||
extendedOpNode->limitOffset =
|
||||
|
|
Loading…
Reference in New Issue