Skip to content

Conversation

@adriangb
Copy link
Member

No description provided.

@adriangb adriangb changed the title Address pr feedback add FilteredVec helper to handle filter / remap pattern Jul 24, 2025
/// tracking their original indices, allowing results to be mapped back to the original positions.
struct FilteredVec<T> {
items: Vec<T>,
// Chain of index mappings: each Vec maps from current level to previous level
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

while this multi-level mapping is clever, maybe it could be simpler if we just hard coded the number of levels needed 🤔

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it turns out a bit more complex actually because you need to keep track of 2 states (1 or 2 levels) instead of just multi-level

@adriangb adriangb merged commit 7a6a6ac into blacklist-exprs Jul 28, 2025
51 of 53 checks passed
adriangb added a commit that referenced this pull request Jul 28, 2025
* checkpoint: Address PR feedback in https://github.com/apach...

* add FilteredVec to consolidate handling of filter / remap pattern
adriangb added a commit that referenced this pull request Jul 30, 2025
* dissallow pushdown of volatile PhysicalExprs

* fix

* add FilteredVec helper to handle filter / remap pattern (#34)

* checkpoint: Address PR feedback in https://github.com/apach...

* add FilteredVec to consolidate handling of filter / remap pattern

* lint

* Add slt test for pushing volatile predicates down (#35)

---------

Co-authored-by: Andrew Lamb <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants