-
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-1320309: Remove unnecessary warning from sort_values #2306
Conversation
Do we have any tests for this warning behavior? |
src/snowflake/snowpark/modin/plugin/compiler/snowflake_query_compiler.py
Outdated
Show resolved
Hide resolved
9204047
to
2f713e5
Compare
…ompiler.py Co-authored-by: Naren Krishna <[email protected]>
2f713e5
to
f7c96ee
Compare
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
@@ -15,6 +15,7 @@ | |||
- Improved `to_pandas` to persist the original timezone offset for TIMESTAMP_TZ type. | |||
- Improved `dtype` results for TIMESTAMP_TZ type to show correct timezone offset. | |||
- Improved error message when passing non-bool value to `numeric_only` for groupby aggregations. | |||
- Removed unnecessary warning about sort algorithm in `sort_values`. |
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 seems so minor, is it even worth calling out as an improvement?
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.
yeah, it is pretty minor. But it does have user facing impact (right now this warning shows up in notebook in red) so might be good include this here.
Remove warning from sort_values when sort algorithm is 'quicksort'. We still raise warning if user passed a sort algorithm explicitly like
mergesort
forquicksort
is default value so it doesn't make sense to raise this warning.