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] Expression between #2301

Merged
merged 31 commits into from
May 30, 2024
Merged

Conversation

GuyPozner
Copy link
Contributor

@GuyPozner GuyPozner commented May 24, 2024

Closes #1903

It still WIP, I just want to get some feedback to know if I am on the right path, I have a feeling I might have overdone it with defining Between as its own trait.

Edit:
Can someone point me to a rust test that covers the DaftError cases?

@GuyPozner GuyPozner changed the title Guyp/expression between [FEAT] Expression between May 24, 2024
@github-actions github-actions bot added the enhancement New feature or request label May 24, 2024
@jaychia jaychia self-requested a review May 24, 2024 18:57
@GuyPozner GuyPozner marked this pull request as draft May 25, 2024 05:42
@github-actions github-actions bot added the documentation Improvements or additions to documentation label May 27, 2024
@GuyPozner GuyPozner marked this pull request as ready for review May 27, 2024 13:06
@samster25
Copy link
Member

@colin-ho can you take a look!

@samster25 samster25 requested a review from colin-ho May 28, 2024 20:49
Copy link
Contributor

@colin-ho colin-ho left a comment

Choose a reason for hiding this comment

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

Awesome work @GuyPozner, this is a great PR! just left a couple of comments :)

src/daft-core/src/array/ops/between.rs Outdated Show resolved Hide resolved
src/daft-core/src/array/ops/between.rs Outdated Show resolved Hide resolved
src/daft-core/src/array/ops/between.rs Outdated Show resolved Hide resolved
src/daft-core/src/series/ops/mod.rs Show resolved Hide resolved
tests/table/test_between.py Show resolved Hide resolved
daft/expressions/expressions.py Outdated Show resolved Hide resolved
Copy link
Contributor

@colin-ho colin-ho left a comment

Choose a reason for hiding this comment

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

Awesome work @GuyPozner !!

@colin-ho colin-ho merged commit 209a4e0 into Eventual-Inc:main May 30, 2024
32 checks passed
@colin-ho
Copy link
Contributor

And congrats on first PR 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[EXPRESSIONS] .between(lower, upper)
3 participants