cloudberry icon indicating copy to clipboard operation
cloudberry copied to clipboard

Use callback instead of calling ExecFilterJunk()

Open zhangyue-hashdata opened this issue 8 months ago • 0 comments

  1. Added ExecFilterJunkFunc function pointer to JunkFilter struct;
  2. Replaced ExecFilterJunk() with function pointer calls;
  3. Initialized function pointer in ExecInitJunkFilter() and ExecInitJunkFilterConversion();
  4. Updated all ExecFilterJunk() calls to use the function pointer;

This change makes JunkFilter's filtering behavior more extensible and customizable while maintaining existing functionality.

Fixes #ISSUE_Number

What does this PR do?

Type of Change

  • [ ] Bug fix (non-breaking change)
  • [ ] New feature (non-breaking change)
  • [ ] Breaking change (fix or feature with breaking changes)
  • [ ] Documentation update

Breaking Changes

Test Plan

  • [ ] Unit tests added/updated
  • [ ] Integration tests added/updated
  • [ ] Passed make installcheck
  • [ ] Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


zhangyue-hashdata avatar Apr 23 '25 07:04 zhangyue-hashdata