Column projection pushdown for GROUP BY#162
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThis PR implements column projection for vectorized scans. The storage layer gains a selective ChangesColumn Projection for Vectorized Scans
Sequence DiagramsequenceDiagram
participant QueryExecutor
participant VectorizedSeqScanOperator
participant VectorBatch
participant ColumnarTable
QueryExecutor->>VectorizedSeqScanOperator: set_required_columns(col_indices)
QueryExecutor->>VectorizedSeqScanOperator: next_batch()
VectorizedSeqScanOperator->>VectorBatch: initialize from reduced_schema_
VectorizedSeqScanOperator->>ColumnarTable: read_batch(start_row, batch_size, col_indices)
ColumnarTable->>VectorBatch: append filtered columns
VectorizedSeqScanOperator->>QueryExecutor: return reduced-width batch
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Closed - using v2 branch based from main instead |
Summary
Commits
Tests
Summary by CodeRabbit