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
|
* expression on the LIMIT and OFFSET clauses. Note that logical optimizer
|
||||||
* expects those clauses to be already evaluated.
|
* expects those clauses to be already evaluated.
|
||||||
*/
|
*/
|
||||||
extendedOpNode->originalLimitCount =
|
|
||||||
PartiallyEvaluateExpression(extendedOpNode->originalLimitCount, NULL);
|
|
||||||
extendedOpNode->originalLimitOffset =
|
|
||||||
PartiallyEvaluateExpression(extendedOpNode->originalLimitOffset, NULL);
|
|
||||||
extendedOpNode->limitCount =
|
extendedOpNode->limitCount =
|
||||||
PartiallyEvaluateExpression(extendedOpNode->limitCount, NULL);
|
PartiallyEvaluateExpression(extendedOpNode->limitCount, NULL);
|
||||||
extendedOpNode->limitOffset =
|
extendedOpNode->limitOffset =
|
||||||
|
|
Loading…
Reference in New Issue