apache / apache/gluten

GlutenConfig should using SQLConf provided by SparkSession first

Open
#7,690 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Scala
Stars
1.6k
Forks
657
Avg merge
2d 14h
Merged PRs (30d)
80

Description

### Description

GlutenConfig wrapped the immutable SQLConf instance, this lead to the dynamically modified configurations in interactive scenarios can't apply to runtime.
Take for an example.
```
scala > SET spark.gluten.sql.enable.native.validation = false;
...
scala > SELECT ...
...
SET spark.gluten.sql.enable.native.validation = true;
...
scala > SELECT ...
...
```

We should using SQLConf provided by SparkSession first

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.