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

SNOW-1618349: Add support for pd.merge_asof #2095

Merged
merged 20 commits into from
Aug 22, 2024

Conversation

sfc-gh-nkrishna
Copy link
Contributor

@sfc-gh-nkrishna sfc-gh-nkrishna commented Aug 15, 2024

Fixes SNOW-1618349

This PR adds initial support for pd.merge_asof -- parameters by, left_by, right_by, left_index, right_index, suffixes, and tolerance are not yet supported. Additionally direction=nearest is not yet supported but this can be done in a follow-up PR.

@sfc-gh-nkrishna sfc-gh-nkrishna changed the title SNOW-1518349: Add support for pd.merge_asof SNOW-1618349: Add support for pd.merge_asof Aug 15, 2024
Copy link
Contributor

@sfc-gh-helmeleegy sfc-gh-helmeleegy 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 overall. Just a few nits. Thanks for the quick turnaround.

Copy link
Contributor

@sfc-gh-rdurrani sfc-gh-rdurrani left a comment

Choose a reason for hiding this comment

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

left some comments + requests

Copy link
Contributor

@sfc-gh-rdurrani sfc-gh-rdurrani left a comment

Choose a reason for hiding this comment

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

LGTM - left a couple quick q's tho!

Signed-off-by: Naren Krishna <naren.krishna@snowflake.com>
Signed-off-by: Naren Krishna <naren.krishna@snowflake.com>
Signed-off-by: Naren Krishna <naren.krishna@snowflake.com>
Signed-off-by: Naren Krishna <naren.krishna@snowflake.com>
Signed-off-by: Naren Krishna <naren.krishna@snowflake.com>
Signed-off-by: Naren Krishna <naren.krishna@snowflake.com>
Signed-off-by: Naren Krishna <naren.krishna@snowflake.com>
Signed-off-by: Naren Krishna <naren.krishna@snowflake.com>
Signed-off-by: Naren Krishna <naren.krishna@snowflake.com>
Signed-off-by: Naren Krishna <naren.krishna@snowflake.com>
Signed-off-by: Naren Krishna <naren.krishna@snowflake.com>
@sfc-gh-yzou sfc-gh-yzou self-requested a review August 16, 2024 20:44
Signed-off-by: Naren Krishna <naren.krishna@snowflake.com>
@sfc-gh-nkrishna sfc-gh-nkrishna marked this pull request as ready for review August 20, 2024 19:23
Signed-off-by: Naren Krishna <naren.krishna@snowflake.com>
Signed-off-by: Naren Krishna <naren.krishna@snowflake.com>
Copy link
Contributor

@sfc-gh-rdurrani sfc-gh-rdurrani left a comment

Choose a reason for hiding this comment

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

I think that we should add support for by, since it won't be a whole lot of extra code.

Copy link
Contributor

@sfc-gh-rdurrani sfc-gh-rdurrani left a comment

Choose a reason for hiding this comment

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

LGTM!

Signed-off-by: Naren Krishna <naren.krishna@snowflake.com>
Signed-off-by: Naren Krishna <naren.krishna@snowflake.com>
Signed-off-by: Naren Krishna <naren.krishna@snowflake.com>
@sfc-gh-nkrishna
Copy link
Contributor Author

@sfc-gh-yzou Could you take another pass? Addressed all comments

@sfc-gh-nkrishna sfc-gh-nkrishna merged commit 14d9c61 into main Aug 22, 2024
35 checks passed
@sfc-gh-nkrishna sfc-gh-nkrishna deleted the nkrishna-SNOW-1518349-merge-asof branch August 22, 2024 18:14
@github-actions github-actions bot locked and limited conversation to collaborators Aug 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants