Skip to content

Conversation

Matt711
Copy link
Contributor

@Matt711 Matt711 commented Sep 23, 2025

Description

Closes #19972. Decimal support for TRUE_DIV is not in scope for libcudf. So we do the next best thing and cast the inputs to float ahead of time.

Checklist

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

@Matt711 Matt711 requested a review from a team as a code owner September 23, 2025 15:55
@Matt711 Matt711 added bug Something isn't working non-breaking Non-breaking change labels Sep 23, 2025
@github-actions github-actions bot added Python Affects Python cuDF API. cudf-polars Issues specific to cudf-polars labels Sep 23, 2025
@GPUtester GPUtester moved this to In Progress in cuDF Python Sep 23, 2025
assert_gpu_result_equal(q)


def test_true_div_with_decimals():
Copy link
Contributor Author

Choose a reason for hiding this comment

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

TODO: Don't check output dtype for polars version < 1.32 because of #19975

@Matt711
Copy link
Contributor Author

Matt711 commented Sep 25, 2025

/merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cudf-polars Issues specific to cudf-polars non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

2 participants