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

feat!: rename $not_ -> $not, $first -> $first_distinct, and add $last_distinct #531

Merged
merged 7 commits into from
Nov 22, 2023

Conversation

eitsupi
Copy link
Collaborator

@eitsupi eitsupi commented Nov 21, 2023

Close #524
Close #527

  • Rename $not_ to $not. (not is a reserved word of Python, so py-polars uses not_. But we can use not in Rust and R)
  • Rename $first to $first_distinct. The remaining $first warns.
  • Add $last_distinct, related to $first_distinct.

@eitsupi eitsupi changed the title fix!: $not_ -> $not feat!: rename $not_ -> $not, $first -> $first_distinct, and add $last_distinct Nov 21, 2023
@eitsupi eitsupi marked this pull request as ready for review November 21, 2023 14:29
@eitsupi eitsupi added this to the 0.11 milestone Nov 21, 2023
NEWS.md Outdated Show resolved Hide resolved
src/rust/src/lazy/dsl.rs Show resolved Hide resolved
src/rust/src/lazy/dsl.rs Show resolved Hide resolved
Co-authored-by: Etienne Bacher <52219252+etiennebacher@users.noreply.github.com>
Copy link
Collaborator

@sorhawell sorhawell left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thx.

@etiennebacher etiennebacher merged commit da0809f into main Nov 22, 2023
31 checks passed
@etiennebacher etiennebacher deleted the renames branch November 22, 2023 07:56
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.

Rename is_first to is_first_distinct $and_(), $or_(), $not_() v.s. $and(), $or(), $not()
3 participants