Skip to content

Fix merge branch-25.06 into branch-25.08 - #18622

Merged
AyodeAwe merged 3 commits into
NVIDIA:branch-25.08from
davidwendt:b2508-merge-b2506
May 1, 2025
Merged

Fix merge branch-25.06 into branch-25.08#18622
AyodeAwe merged 3 commits into
NVIDIA:branch-25.08from
davidwendt:b2508-merge-b2506

Conversation

@davidwendt

Copy link
Copy Markdown
Contributor

Description

Fixes merge conflict for auto merger #18620

wence- and others added 3 commits May 1, 2025 17:20
A 3.1 release candidate changes the way C++ code is emitted for Cython declarations like:

    ctypedef some_type alias_name
    cdef class Foo:
        cdef alias_name whatever

Previously, we would get

    new((void*)&(p->whatever)) alias_name();

Now, instead, we get

    new((void*)&(p->whatever)) some_type();

This breaks the usage of a `ctypedef` with `std::variant` in the ORC metadata, since we end up with

    new((void*)&(p->whatever)) std::variant();

Rather than

    new((void*)&(p->whatever)) cudf::io::statistics_type();

The latter is well formed, it default-constructs a `std::variant` that is defined as `std::variant<std::monostate, ...>` in libcudf headers. The former is ill-formed in two ways:

1. A variant must contain at least one default-constructible type
2. Even if we could default-construct, we're now constructing the wrong type.

As a work-around, let us pin to Cython 3.0, until we can figure out the correct way to deal with this and in case there are other fall-outs.

Authors:
  - Lawrence Mitchell (https://github.com/wence-)

Approvers:
  - Bradley Dice (https://github.com/bdice)
  - James Lamb (https://github.com/jameslamb)

URL: NVIDIA#18617
…ze_of (NVIDIA#18607)

The `cudf::cast` API requires a double-dispatch to resolve the to and from target types.
The internal logic uses `cudf::size_of` on the target type to build the output column.
This utility is yet another type-dispatch and is not required since the target-type is already resolved on the 2nd dispatch.

Authors:
  - David Wendt (https://github.com/davidwendt)

Approvers:
  - Bradley Dice (https://github.com/bdice)
  - Nghia Truong (https://github.com/ttnghia)
  - Devavret Makkar (https://github.com/devavret)

URL: NVIDIA#18607
@davidwendt
davidwendt requested review from a team as code owners May 1, 2025 20:23
@github-actions github-actions Bot added libcudf Affects libcudf (C++/CUDA) code. Python Affects Python cuDF API. CMake CMake build issue Java Affects Java cuDF API. cudf.pandas Issues specific to cudf.pandas cudf-polars Issues specific to cudf-polars pylibcudf Issues specific to the pylibcudf package labels May 1, 2025
@davidwendt
davidwendt changed the base branch from branch-25.06 to branch-25.08 May 1, 2025 20:23
@davidwendt
davidwendt requested a review from a team as a code owner May 1, 2025 20:23
@davidwendt
davidwendt requested a review from PointKernel May 1, 2025 20:23
@davidwendt davidwendt added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels May 1, 2025
@davidwendt davidwendt changed the title Fix merge branch-25.06 into branch-25.06 Fix merge branch-25.06 into branch-25.08 May 1, 2025
@bdice

bdice commented May 1, 2025

Copy link
Copy Markdown
Contributor

We need a non-squash merge on this. I will ask ops to admin non-squash merge this before EOD to avoid blocking some work I'm doing.

@AyodeAwe
AyodeAwe merged commit e0da9de into NVIDIA:branch-25.08 May 1, 2025
@davidwendt
davidwendt deleted the b2508-merge-b2506 branch May 1, 2025 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CMake CMake build issue cudf.pandas Issues specific to cudf.pandas cudf-polars Issues specific to cudf-polars improvement Improvement / enhancement to an existing function Java Affects Java cuDF API. libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change pylibcudf Issues specific to the pylibcudf package Python Affects Python cuDF API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants