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

[CHORE] Turn v0.3 deprecations into breaking changes #2663

Merged
merged 4 commits into from
Aug 15, 2024

Conversation

kevinzwang
Copy link
Member

@kevinzwang kevinzwang commented Aug 15, 2024

Two things being removed:

  • read_deltalake
  • Tuple arguments to DataFrame.agg and GroupedDataFrame.agg

@github-actions github-actions bot added chore documentation Improvements or additions to documentation labels Aug 15, 2024
@@ -2035,7 +2011,13 @@ def agg(self, *to_agg: Union[Expression, Iterable[Expression]]) -> "DataFrame":
Returns:
DataFrame: DataFrame with aggregated results
"""
return self._agg(self._agg_inputs_to_expressions(to_agg), group_by=None)
Copy link
Contributor

Choose a reason for hiding this comment

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

I know some folks will definitely struggle with this change -- any chance we could detect tuples as a validation step and throw a ValueError here indicating that they should use the new API since it was deprecated in 0.3?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah I can add that

Copy link
Contributor

@jaychia jaychia left a comment

Choose a reason for hiding this comment

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

Also let's double-check our codebase and tutorials/docs for any places that we may have neglected to change examples from using tuples to our new agg expressions?

@kevinzwang kevinzwang enabled auto-merge (squash) August 15, 2024 19:01
@kevinzwang kevinzwang merged commit c7848ae into main Aug 15, 2024
44 checks passed
@kevinzwang kevinzwang deleted the kevin/v0.3-breaking-changes branch August 15, 2024 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants