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

LazyFrame_join_asof + DataFrame_join_asof #172

Merged
merged 36 commits into from
May 4, 2023
Merged

LazyFrame_join_asof + DataFrame_join_asof #172

merged 36 commits into from
May 4, 2023

Conversation

sorhawell
Copy link
Collaborator

resolve #151

@sorhawell
Copy link
Collaborator Author

currently misses some more tests + DataFrame_join_asof

@sorhawell sorhawell marked this pull request as ready for review May 1, 2023 12:56
@sorhawell sorhawell changed the title WIP: add LazyFrame_join_asof + DataFrame_join_asof LazyFrame_join_asof + DataFrame_join_asof May 1, 2023
@eitsupi
Copy link
Collaborator

eitsupi commented May 1, 2023

Could you resolve the conflicts?

Merge branch 'main' into join_asof

# Conflicts:
#	src/rust/src/lazy/dataframe.rs
@sorhawell sorhawell marked this pull request as draft May 2, 2023 07:24
@sorhawell sorhawell marked this pull request as ready for review May 2, 2023 13:27
@sorhawell
Copy link
Collaborator Author

@etiennebacher will you be my reviewer again? :)

@etiennebacher
Copy link
Collaborator

etiennebacher commented May 2, 2023

Sure, I don't have time for a proper review now, but I can probably do it in the next day or two.

Just one thing I noticed is that the docs for join_asof is the same for DataFrame and LazyFrame. You could write them only for one of the two and use the roxygen tag @inheritParams in the other one to automatically duplicate the docs. That way you also ensure that future changes will be synchronized

@sorhawell
Copy link
Collaborator Author

@etiennebacher I added inherits Param. I will start using that a lot more. Thx

Copy link
Collaborator

@etiennebacher etiennebacher 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 for the R part, I can't tell for the Rust part but I guess "if it compiles it should be fine" TM 😄

R/dataframe__frame.R Outdated Show resolved Hide resolved
R/dataframe__frame.R Outdated Show resolved Hide resolved
R/dataframe__frame.R Outdated Show resolved Hide resolved
R/lazyframe__lazy.R Outdated Show resolved Hide resolved
R/lazyframe__lazy.R Outdated Show resolved Hide resolved
R/lazyframe__lazy.R Outdated Show resolved Hide resolved
R/lazyframe__lazy.R Outdated Show resolved Hide resolved
tests/testthat/test-dataframe.R Outdated Show resolved Hide resolved
tests/testthat/test-dataframe.R Outdated Show resolved Hide resolved
R/lazyframe__lazy.R Outdated Show resolved Hide resolved
sorhawell and others added 8 commits May 3, 2023 14:09
Co-authored-by: Etienne Bacher <52219252+etiennebacher@users.noreply.github.com>
Co-authored-by: Etienne Bacher <52219252+etiennebacher@users.noreply.github.com>
Co-authored-by: Etienne Bacher <52219252+etiennebacher@users.noreply.github.com>
Co-authored-by: Etienne Bacher <52219252+etiennebacher@users.noreply.github.com>
@etiennebacher
Copy link
Collaborator

The docs workflow fails because I pushed to the wrong branch earlier, I tried to remove the commit (it was b42c05e) but apparently it didn't work. Maybe you can just go back to the old code in docs.yml

sorhawell and others added 4 commits May 3, 2023 15:34
Co-authored-by: Etienne Bacher <52219252+etiennebacher@users.noreply.github.com>
Copy link
Collaborator

@etiennebacher etiennebacher left a comment

Choose a reason for hiding this comment

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

I'm fine with this, looks like a very useful function, thanks

@etiennebacher
Copy link
Collaborator

One last thing, could you add a NEWS bullet point?

@sorhawell sorhawell merged commit b25e821 into main May 4, 2023
8 checks passed
@sorhawell sorhawell deleted the join_asof branch May 4, 2023 07:45
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.

support join_asof
3 participants