-
Notifications
You must be signed in to change notification settings - Fork 118
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-976702 : Add timeseries agg dataframe function. #1181
SNOW-976702 : Add timeseries agg dataframe function. #1181
Conversation
sliding_point_col = "sliding_point" | ||
|
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.
would this overwrite sliding_point if original df has this column? I would suggest using randomized name - see random_table_name
in utils.py
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.
This is not a temporary column. I am not sure about generating a random name for an output column. This will make it hard to write queries based on this column. We could put a contact suffix/prefix to the name. That can bring down the probability of collision. Say "sp_gen_sliding_point". wdyt ?
Please answer these questions before submitting your pull requests. Thanks!
What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
SNOW-976702
The Pr is adding the time series aggregation function as proposed in https://docs.google.com/document/d/14J5lr_a3fE1xeU-YzKWdeduBdC_035sry11lJUjjkT8/edit
Fill out the following pre-review checklist:
Please describe how your code solves the related issue.
Please write a short description of how your code change solves the related issue.