Skip to content

Conversation

@berkaysynnada
Copy link
Contributor

Which issue does this PR close?

Closes #.

Rationale for this change

The signature and usage of the monotonicity API have significantly changed. Therefore, we believe that output_ordering() better reflects the new approach. #10504 (comment)

What changes are included in this PR?

This PR just renames the monotonicity() methods as output_ordering() in both ScalarUDF and ScalarUDFImpl.

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added logical-expr Logical plan and expressions physical-expr Changes to the physical-expr crates labels May 21, 2024
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you @berkaysynnada -- this looks much nicer.

Note to other reviewers, while this is technically an API change, it hasn't been released yet so I am not going to mark this PR as breaking and avoid calling it out in the docs

@alamb alamb merged commit 1e58247 into apache:main May 21, 2024
findepi pushed a commit to findepi/datafusion that referenced this pull request Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

logical-expr Logical plan and expressions physical-expr Changes to the physical-expr crates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants