Skip to content

tp: simplify TreeTransformer with TreeState and FilterOnly#4948

Draft
LalitMaganti wants to merge 1 commit intomainfrom
dev/lalitm/tree-2
Draft

tp: simplify TreeTransformer with TreeState and FilterOnly#4948
LalitMaganti wants to merge 1 commit intomainfrom
dev/lalitm/tree-2

Conversation

@LalitMaganti
Copy link
Member

Consolidate tree bytecodes (MakeChildToParentTreeStructure,
MakeParentToChildTreeStructure, IndexSpanToBitvector, FilterTree)
into a single FilterTreeState bytecode that operates on an opaque
TreeState object. TreeTransformer no longer maintains its own
BytecodeBuilder/cache; instead it accumulates filter specs and
builds everything in ToDataframe() using QueryPlanBuilder::FilterOnly.
Remove unused normalized_cpp_type, SumOp/CombineOp/NormalizedType,
and BitVector::Copy. Add diff tests for chained tree filters.

Consolidate tree bytecodes (MakeChildToParentTreeStructure,
MakeParentToChildTreeStructure, IndexSpanToBitvector, FilterTree)
into a single FilterTreeState bytecode that operates on an opaque
TreeState object. TreeTransformer no longer maintains its own
BytecodeBuilder/cache; instead it accumulates filter specs and
builds everything in ToDataframe() using QueryPlanBuilder::FilterOnly.
Remove unused normalized_cpp_type, SumOp/CombineOp/NormalizedType,
and BitVector::Copy. Add diff tests for chained tree filters.
@LalitMaganti LalitMaganti requested a review from a team as a code owner February 27, 2026 06:31
@github-actions
Copy link

@LalitMaganti LalitMaganti marked this pull request as draft February 27, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant