Skip to content

[VL] Refactor GlutenConfig to reflect the right status under isModifiable() #11998

@zhouyuan

Description

@zhouyuan

Description

GlutenConfig accepts a conf: SQLConf constructor parameter and stores it as an effectively final field. The widely-used factory GlutenConfig.get() passes SQLConf.get — the JVM thread-local static instance. Spark treats every key stored in that static instance as non-modifiable, so:

spark.conf.isModifiable("spark.gluten.*") → always false

even for keys that are genuinely dynamic (not marked .staticConf)

GlutenConfig should be refactored to get the value from SparkSession first so that it can correctly report the modifiable keys

Gluten version

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions