Skip to content

[r] Min-sizing for dataframes/arrays with new shape feature#3208

Merged
johnkerl merged 2 commits intomainfrom
kerl/r-min-sizing
Oct 20, 2024
Merged

[r] Min-sizing for dataframes/arrays with new shape feature#3208
johnkerl merged 2 commits intomainfrom
kerl/r-min-sizing

Conversation

@johnkerl
Copy link
Copy Markdown
Contributor

@johnkerl johnkerl commented Oct 18, 2024

Issue and/or context: As tracked on issue #2407 / [sc-51048].

Note that the intended Python and R API changes are all agreed on and finalized as described in #2407.

Changes:

In the design at #2407 we decided that None no longer means "as big a domain as possible" but now rather "as small as possible" -- as only upward resizes, not downward resizes, are possible. This is a breaking change we have already agreed on.

This is the R counterpart to the Python PRs #3190 #3191 #3192 #3193 #3194 #3203. I didn't split this one up into multiple PRs as I did those. However, the mods are the same:

  • Have unit-test cases always provide domain at create
  • Apply the policy that domain being NULL overall or slotwise makes smallest-possible rather than largest-possible.

Notes for Reviewer:

@johnkerl johnkerl marked this pull request as draft October 18, 2024 21:42
@johnkerl johnkerl force-pushed the kerl/r-min-sizing branch 9 times, most recently from 751ebe4 to 02a53be Compare October 20, 2024 00:24
@johnkerl johnkerl changed the title [r] Min-sizing for dataframes/arrays with new shape feature [WIP] [r] Min-sizing for dataframes/arrays with new shape feature Oct 20, 2024
@johnkerl johnkerl requested a review from mojaveazure October 20, 2024 00:31
@johnkerl johnkerl marked this pull request as ready for review October 20, 2024 00:32
Copy link
Copy Markdown
Member

@mojaveazure mojaveazure left a comment

Choose a reason for hiding this comment

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

LGTM; please update the changelog, bump the develop version, and 🚢

@johnkerl johnkerl merged commit 003fd1d into main Oct 20, 2024
@johnkerl johnkerl deleted the kerl/r-min-sizing branch October 20, 2024 22:03
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.

2 participants