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-1526422, SNOW-1524697: Remove axis labels and callable names from unsupported aggregation messages. #1915

Conversation

sfc-gh-mvashishtha
Copy link
Contributor

@sfc-gh-mvashishtha sfc-gh-mvashishtha commented Jul 16, 2024

Along the way, separate out the NotImplementedError messages about unsupported aggregations from the messages about unsupported groupings (e.g. grouping on axis=1 or grouping by a dataframe).

Fixes SNOW-1526422, SNOW-1524697

…m unsupported aggregation messages.

Signed-off-by: sfc-gh-mvashishtha <mahesh.vashishtha@snowflake.com>
@sfc-gh-mvashishtha sfc-gh-mvashishtha added the NO-PANDAS-CHANGEDOC-UPDATES This PR does not update Snowpark pandas docs label Jul 16, 2024
Signed-off-by: sfc-gh-mvashishtha <mahesh.vashishtha@snowflake.com>
@@ -117,7 +117,7 @@ def test_unsupported_dataframe_binary_methods(func, func_name, caplog) -> None:
"func, func_name",
UNSUPPORTED_BINARY_METHODS,
)
@sql_count_checker(query_count=1)
@sql_count_checker(query_count=0)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Before this PR, we would execute a query to add the entire other series to the error message. After this PR, we don't include the other series in the error message.

Signed-off-by: sfc-gh-mvashishtha <mahesh.vashishtha@snowflake.com>
@sfc-gh-mvashishtha sfc-gh-mvashishtha marked this pull request as ready for review July 16, 2024 19:56
@sfc-gh-mvashishtha sfc-gh-mvashishtha requested a review from a team as a code owner July 16, 2024 19:56
@sfc-gh-mvashishtha sfc-gh-mvashishtha requested review from sfc-gh-nkrishna and sfc-gh-joshi and removed request for sfc-gh-nkrishna July 16, 2024 19:56
Copy link
Contributor

@sfc-gh-joshi sfc-gh-joshi left a comment

Choose a reason for hiding this comment

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

left a couple ?s

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 minor comments, but lgtm otherwise.

sfc-gh-mvashishtha and others added 4 commits July 17, 2024 16:06
Co-authored-by: Rehan Durrani <rehan.durrani@snowflake.com>
Signed-off-by: sfc-gh-mvashishtha <mahesh.vashishtha@snowflake.com>
Signed-off-by: sfc-gh-mvashishtha <mahesh.vashishtha@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.

left a quick q, but LGTM

CHANGELOG.md Show resolved Hide resolved
Copy link
Collaborator

@sfc-gh-evandenberg sfc-gh-evandenberg left a comment

Choose a reason for hiding this comment

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

LGTM

@sfc-gh-mvashishtha sfc-gh-mvashishtha merged commit c5c8004 into main Jul 22, 2024
35 checks passed
@sfc-gh-mvashishtha sfc-gh-mvashishtha deleted the mvashishtha/SNOW-1524697-SNOW-1526422-unsupported-aggregation-messages branch July 22, 2024 19:52
@github-actions github-actions bot locked and limited conversation to collaborators Jul 22, 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.

None yet

5 participants