SNOW-2435290: Add support for groupby.agg/min/max/count/sum/mean/median/std/var in faster pandas#3908
Conversation
…an/std/var in faster pandas
| 1 2 | ||
| 2 3 | ||
| dtype: int64 | ||
| dtype: int8 |
There was a problem hiding this comment.
Why did data type change here?
There was a problem hiding this comment.
I'm not 100% sure. But the sql queries look a bit different in faster pandas compared to the original snowpark pandas. So the new order of sql operations may have caused the typing system on the server side to infer a slightly different final type.
There was a problem hiding this comment.
Are you sure this is not related to the snowflake-connector upgrade? This feels like an arrow change.
There was a problem hiding this comment.
Seems to be failing in main: https://github.com/snowflakedb/snowpark-python/actions/runs/18579579403/job/52971829830
There was a problem hiding this comment.
I see. In this case, let's fix this in a separate PR since the root cause is not related to this PR.
Here is the separate fix PR: #3911
@sfc-gh-jkew @sfc-gh-joshi @sfc-gh-nkrishna
| 1 2 | ||
| 2 3 | ||
| dtype: int64 | ||
| dtype: int8 |
There was a problem hiding this comment.
Are you sure this is not related to the snowflake-connector upgrade? This feels like an arrow change.
| ], | ||
| ) | ||
| @sql_count_checker(query_count=6) | ||
| def test_groupby_agg(session, func): |
There was a problem hiding this comment.
It seems like a lot of the fasters pandas tests have some pretty similar setup/assert/teardown code. Could you add some of that logic to a shared logic/fixture in the future?
31c9a6c to
8c7e94a
Compare
Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes SNOW-2435290
Fill out the following pre-review checklist:
Please describe how your code solves the related issue.
Add support for groupby.agg/min/max/count/sum/mean/median/std/var in faster pandas.