-
Notifications
You must be signed in to change notification settings - Fork 116
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-1023211: Support resample with rule offset W
, ME
, YE
with closed = left
#2254
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sfc-gh-nkrishna
added
NO-CHANGELOG-UPDATES
This pull request does not need to update CHANGELOG.md
NO-PANDAS-CHANGEDOC-UPDATES
This PR does not update Snowpark pandas docs
labels
Sep 9, 2024
Signed-off-by: Naren Krishna <[email protected]>
sfc-gh-nkrishna
force-pushed
the
nkrishna-SNOW-1023211-resample
branch
from
September 17, 2024 17:17
4b2cf5d
to
2d5bc81
Compare
Signed-off-by: Naren Krishna <[email protected]>
Signed-off-by: Naren Krishna <[email protected]>
sfc-gh-nkrishna
changed the title
[DRAFT] SNOW-1023211: Support resample by rule offset month
SNOW-1023211: Support resample by rule offset month
Sep 19, 2024
sfc-gh-nkrishna
changed the title
SNOW-1023211: Support resample by rule offset month
SNOW-1023211: Support resample with rule offset Sep 19, 2024
W
, ME
, YE
Signed-off-by: Naren Krishna <[email protected]>
sfc-gh-nkrishna
changed the title
SNOW-1023211: Support resample with rule offset
SNOW-1023211: Support resample with rule offset Sep 19, 2024
W
, ME
, YE
W
, ME
, YE
with closed = left
Signed-off-by: Naren Krishna <[email protected]>
sfc-gh-nkrishna
removed
NO-CHANGELOG-UPDATES
This pull request does not need to update CHANGELOG.md
NO-PANDAS-CHANGEDOC-UPDATES
This PR does not update Snowpark pandas docs
labels
Sep 19, 2024
sfc-gh-nkrishna
commented
Sep 19, 2024
Signed-off-by: Naren Krishna <[email protected]>
Signed-off-by: Naren Krishna <[email protected]>
src/snowflake/snowpark/modin/plugin/compiler/snowflake_query_compiler.py
Show resolved
Hide resolved
Signed-off-by: Naren Krishna <[email protected]>
sfc-gh-helmeleegy
approved these changes
Sep 20, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
sfc-gh-nkumar
approved these changes
Sep 20, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SNOW-1023211
This PR adds support for
resample
by rule offsetW
,ME
,YE
with parameterclosed = left
.Note: Snowpark pandas
resample
implementation uses the Snowflake SQL functionTIME_SLICE
which assumes the left hand side of the given interval is closed, meaning support usingclosed = right
parameter is non-trivial.