Skip to content

[CORE] Incorrect wholestage id in WholeStageTransformerExec #11251

@marin-ma

Description

@marin-ma

Backend

VL (Velox)

Bug description

In vanilla spark, the stage id of the WholeStageCodegenExec always starts with 1 in each SQL query
Image

However in Gluten, the stage id is generated from a global counter, which accumulates across different queries. This number can grow very large in a long running spark session.
Image

Gluten version

No response

Spark version

None

Spark configurations

No response

System information

No response

Relevant logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions