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

Only use data_type constructor with scale for decimal types #15472

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

wence-
Copy link
Contributor

@wence- wence- commented Apr 5, 2024

Description

If we pass a scale parameter to cudf::data_type, the type_id must name a decimal type. This is asserted in debug mode.

Without this change, one cannot use the cython wrappers when build with CMAKE_BUILD_TYPE=Debug.

Checklist

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

If we pass a scale parameter to cudf::data_type, the type_id must name
a decimal type. This is asserted in debug mode.

Without this change, one cannot use the cython wrappers when build
with CMAKE_BUILD_TYPE=Debug.
@wence- wence- requested a review from a team as a code owner April 5, 2024 16:52
@github-actions github-actions bot added the Python Affects Python cuDF API. label Apr 5, 2024
@davidwendt davidwendt added bug Something isn't working non-breaking Non-breaking change labels Apr 5, 2024
@galipremsagar
Copy link
Contributor

/merge

@rapids-bot rapids-bot bot merged commit a2f625a into rapidsai:branch-24.06 Apr 9, 2024
69 checks passed
@wence- wence- deleted the wence/fix/plc-datatype branch April 10, 2024 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants