Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend monotonicity analysis #5085

Merged

Conversation

frankmcsherry
Copy link
Contributor

@frankmcsherry frankmcsherry commented Dec 17, 2020

The PR extends monotonicity analysis within views to all methods other than Negate (nope) and Let (too annoying at the moment). This includes FlatMap (when not the Repeat TVF), Join (when all inputs are monotonic) and Reduce (when there are no aggregates). Some other cases like Constant and Threshold filled in as well.

This is a render-time change, so we'll need to rely on tests and inspection to see if we've botched anything.

Related to issue MaterializeInc/database-issues#1559


This change is Reviewable

Copy link
Contributor

@ruchirK ruchirK left a comment

Choose a reason for hiding this comment

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

LGTM!

@frankmcsherry frankmcsherry merged commit e511577 into MaterializeInc:main Dec 17, 2020
@frankmcsherry frankmcsherry deleted the extend_monotonicity branch March 8, 2022 13:25
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.

2 participants