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-1636767, SNOW-1635405: Support timestamp +/- timedelta. #2153

Conversation

sfc-gh-mvashishtha
Copy link
Contributor

@sfc-gh-mvashishtha sfc-gh-mvashishtha added the NO-PANDAS-CHANGEDOC-UPDATES This PR does not update Snowpark pandas docs label Aug 22, 2024
@sfc-gh-mvashishtha sfc-gh-mvashishtha marked this pull request as ready for review August 23, 2024 00:11
@sfc-gh-mvashishtha sfc-gh-mvashishtha requested a review from a team as a code owner August 23, 2024 00:11
Copy link
Contributor

@sfc-gh-nkrishna sfc-gh-nkrishna left a comment

Choose a reason for hiding this comment

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

Just two comments

tests/integ/modin/binary/test_timedelta.py Show resolved Hide resolved
tests/integ/modin/binary/test_timedelta.py Show resolved Hide resolved
Copy link
Contributor

@sfc-gh-nkrishna sfc-gh-nkrishna left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Collaborator

@sfc-gh-azhan sfc-gh-azhan left a comment

Choose a reason for hiding this comment

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

Please fix some test failures.

@sfc-gh-mvashishtha
Copy link
Contributor Author

Please fix some test failures.

@sfc-gh-azhan The new timedelta integration tests in /Users/mvashishtha/sources/snowpark-python/tests/integ/modin/binary/test_binary_op.py showed that we were not raising NotImplementedError for Timedelta / Timedelta. Fixed by reordering the if-else chain in compute_binary_op_between_snowpark_columns.

@sfc-gh-mvashishtha sfc-gh-mvashishtha enabled auto-merge (squash) August 23, 2024 21:48
@sfc-gh-mvashishtha sfc-gh-mvashishtha merged commit b2a9e42 into main Aug 23, 2024
35 checks passed
@sfc-gh-mvashishtha sfc-gh-mvashishtha deleted the mvashishtha/SNOW-1636767-SNOW-1635405-support-timestamp-plus-or-minus-timedelta branch August 23, 2024 22:52
@github-actions github-actions bot locked and limited conversation to collaborators Aug 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
NO-PANDAS-CHANGEDOC-UPDATES This PR does not update Snowpark pandas docs snowpark-pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants