Skip to content

Commit

Permalink
fix(stable-release): reverting #374
Browse files Browse the repository at this point in the history
  • Loading branch information
albjoaov committed Dec 4, 2024
1 parent 212fe59 commit 9db1c45
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions butterfree/transform/aggregated_feature_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,12 +637,12 @@ def construct(
output_df = output_df.select(*self.columns).replace( # type: ignore
float("nan"), None
)
if not output_df.isStreaming and self.deduplicate_rows:
output_df = self._filter_duplicated_rows(output_df)
if not output_df.isStreaming:
if self.deduplicate_rows:
output_df = self._filter_duplicated_rows(output_df)
if self.eager_evaluation:
output_df.cache().count()

post_hook_df = self.run_post_hooks(output_df)

if not output_df.isStreaming and self.eager_evaluation:
post_hook_df.cache().count()

return post_hook_df

0 comments on commit 9db1c45

Please sign in to comment.