MCPcopy Create free account
hub / github.com/apache/cloudberry / FreeRuntimeFilter

Function FreeRuntimeFilter

src/backend/executor/nodeHash.c:4242–4260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4240}
4241
4242void
4243FreeRuntimeFilter(HashState *node)
4244{
4245 ListCell *lc;
4246 AttrFilter *attr_filter;
4247
4248 if (!node->filters)
4249 return;
4250
4251 foreach (lc, node->filters)
4252 {
4253 attr_filter = lfirst(lc);
4254 if (attr_filter->blm_filter)
4255 bloom_free(attr_filter->blm_filter);
4256 }
4257
4258 list_free_deep(node->filters);
4259 node->filters = NIL;
4260}
4261
4262void
4263ResetRuntimeFilter(HashState *node)

Callers 1

ExecEndHashFunction · 0.85

Calls 3

bloom_freeFunction · 0.85
list_free_deepFunction · 0.85
foreachFunction · 0.50

Tested by

no test coverage detected