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

Remove build_struct|list_column #14786

Merged
merged 9 commits into from
Feb 23, 2024

Conversation

mroeschke
Copy link
Contributor

Description

IMO these do not provide much value compared to constructing with ListColumn or StructColumn cc #14778 (comment)

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@mroeschke mroeschke added Python Affects Python cuDF API. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jan 18, 2024
@mroeschke mroeschke requested a review from a team as a code owner January 18, 2024 22:35
Copy link
Contributor

@isVoid isVoid left a comment

Choose a reason for hiding this comment

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

Since these APIs are also used in cuspatial, would you mind making a PR to cuSpatial replacing these uses?

@mroeschke
Copy link
Contributor Author

Since these APIs are also used in cuspatial, would you mind making a PR to cuSpatial replacing these uses?

@isVoid sure opened a PR in cuspatial: rapidsai/cuspatial#1327

@davidwendt
Copy link
Contributor

Based on #14786 (review) should this be considered a breaking change?

@mroeschke mroeschke added breaking Breaking change and removed non-breaking Non-breaking change labels Jan 22, 2024
@mroeschke
Copy link
Contributor Author

I think this is considered a private API since it's in the cudf.core Python namespace, but I'll label it as breaking anyways

@isVoid
Copy link
Contributor

isVoid commented Jan 23, 2024

Based on #14786 (review) should this be considered a breaking change?

Actually no, I don't think this should be a breaking change. cuSpatial shouldn't use these internal APIs in the first place. We discussed about removing all of these usage. Labeling this as a breaking change can make contributors who reads the changelog mistakenly believe the column APIs are public.

@vyasr
Copy link
Contributor

vyasr commented Jan 23, 2024

I agree with @isVoid, we shouldn't mark these as breaking. We should just remember while reviewing these sort of changes to cudf's column layer that they have the potential to break cuspatial in particular.

@vyasr vyasr added non-breaking Non-breaking change and removed breaking Breaking change labels Jan 23, 2024
@mroeschke mroeschke changed the base branch from branch-24.02 to branch-24.04 January 31, 2024 21:32
rapids-bot bot pushed a commit to rapidsai/cuspatial that referenced this pull request Feb 1, 2024
This API is planned for removal in cudf: rapidsai/cudf#14786

Authors:
  - Matthew Roeschke (https://github.com/mroeschke)

Approvers:
  - Mark Harris (https://github.com/harrism)
  - Michael Wang (https://github.com/isVoid)

URL: #1327
@mroeschke
Copy link
Contributor Author

@vyasr any other project you can think of that might be using this API? I removed this API from cuspatial in rapidsai/cuspatial#1327

@vyasr
Copy link
Contributor

vyasr commented Feb 23, 2024

Apologies, I missed this query earlier. No, I can't think of any other project using these APIs. Morpheus is the only other package that uses cudf internals, but they tend to use a different set of them (more focused on extracting pointers from columns and then reconstructing them, basically things around pybind/cython interop rather than creating cudf columns from more arbitrary data).

@vyasr
Copy link
Contributor

vyasr commented Feb 23, 2024

/merge

@rapids-bot rapids-bot bot merged commit 8adf099 into rapidsai:branch-24.04 Feb 23, 2024
69 checks passed
@mroeschke mroeschke deleted the ref/rm/build_col_types branch February 23, 2024 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants