Skip to content

Conversation

@vyasr
Copy link
Contributor

@vyasr vyasr commented Nov 22, 2025

Description

This PR moves us to a release of nanoarrow instead of using an intermediate dev tag. I ran into some issues with the upgrade in #20669 so I've split out those changes for testing here.

Checklist

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

@vyasr vyasr self-assigned this Nov 22, 2025
@vyasr vyasr added the improvement Improvement / enhancement to an existing function label Nov 22, 2025
@vyasr vyasr requested a review from a team as a code owner November 22, 2025 01:53
@vyasr vyasr added the non-breaking Non-breaking change label Nov 22, 2025
@github-actions github-actions bot added libcudf Affects libcudf (C++/CUDA) code. CMake CMake build issue labels Nov 22, 2025
@vyasr vyasr requested a review from a team as a code owner November 22, 2025 02:40
NANOARROW_THROW_NOT_OK(ArrowSchemaSetTypeDecimal(expected_schema->children[0],
NANOARROW_TYPE_DECIMAL64,
cudf::detail::max_precision<int64_t>(),
cudf::detail::max_precision<int64_t>() - 1,
Copy link
Contributor

Choose a reason for hiding this comment

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

Is -1 needed because we want to pass a valid max value of 18 for NANOARROW_TYPE_DECIMAL64?

Copy link
Contributor

Choose a reason for hiding this comment

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

Is this to fix an existing bug or due to breaking change in the new nanoarrow version?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was a preexisting bug in our test that was caught by newer validation in nanoarrow added in https://github.com/apache/arrow-nanoarrow/pull/717/files#diff-c970ca53f60f17860a9b1ca7b58e52276ac1c047c39d54b8d99a240f9a17c357.

Copy link
Contributor

@kingcrimsontianyu kingcrimsontianyu left a comment

Choose a reason for hiding this comment

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

Looks good. Just a small question on test.

@vyasr vyasr requested a review from ttnghia November 27, 2025 00:17
@vyasr
Copy link
Contributor Author

vyasr commented Dec 1, 2025

/merge

@rapids-bot rapids-bot bot merged commit 2063035 into rapidsai:main Dec 1, 2025
140 checks passed
@vyasr vyasr deleted the chore/upgrade_nanoarrow branch December 1, 2025 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CMake CMake build issue improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants