Skip to content

Conversation

@eitsupi
Copy link
Collaborator

@eitsupi eitsupi commented Nov 9, 2025

No description provided.

Copilot AI review requested due to automatic review settings November 9, 2025 14:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors optimization flag handling in LazyFrame operations by introducing a new helper function forward_old_opt_flags to centralize deprecation handling for old optimization parameters. The changes update the $explain() method to use the new QueryOptFlags object and deprecate individual optimization parameters.

Key Changes:

  • Added forward_old_opt_flags() function to handle deprecated optimization parameters
  • Refactored lazyframe__explain() to use QueryOptFlags object via optimizations parameter
  • Updated documentation examples to use writeLines() instead of cat() for better output display

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
R/lazyframe-utils.R Added forward_old_opt_flags() helper function to centralize deprecated parameter handling with validation
R/lazyframe-frame.R Refactored lazyframe__explain() to accept QueryOptFlags object and added engine parameter; updated examples to use writeLines()

@eitsupi eitsupi force-pushed the optimizations-args branch from 23785a0 to b605a42 Compare November 9, 2025 15:10
@eitsupi eitsupi added this to the 1.Y.Z milestone Nov 10, 2025
@eitsupi eitsupi requested a review from Copilot November 12, 2025 15:14
Copilot finished reviewing on behalf of eitsupi November 12, 2025 15:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 35 out of 35 changed files in this pull request and generated 7 comments.

@eitsupi eitsupi marked this pull request as ready for review November 12, 2025 15:32
@eitsupi
Copy link
Collaborator Author

eitsupi commented Nov 12, 2025

I'll add some tests tomorrow...

@eitsupi eitsupi marked this pull request as draft November 12, 2025 15:33
@eitsupi eitsupi modified the milestones: 1.Y.Z, 1.6.0 Nov 12, 2025
@etiennebacher etiennebacher mentioned this pull request Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants