Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
None
-
None
-
None
Description
I have some complex query which has tens of thousands of rex expressions and this expression is used in filter expression in the query.
On creating a filter below code gets called:
public RelBuilder filter(Iterable<CorrelationId> variablesSet, Iterable<? extends RexNode> predicates) { final RexNode simplifiedPredicates = simplifier.simplifyFilterPredicates(predicates); if (simplifiedPredicates == null) { return empty(); }
RexSimplify further adds the rexnode in the Set<RexNode> calling hashcode() internally which calls toString()
Is there any way to avoid this computeDigest Call which creates complex string object and blows up the RAM about 10GB?
Attachments
Attachments
Issue Links
- is related to
-
CALCITE-4056 Remove Digest from RelNode and RexNode
- Closed