incubator-gluten icon indicating copy to clipboard operation
incubator-gluten copied to clipboard

[WIP][GLUTEN-7690][CORE][CH][VL] Remove GlutenConfig from ColumnarRuleApplier

Open beliefer opened this issue 1 year ago • 4 comments

What changes were proposed in this pull request?

This PR proposes to remove GlutenConfig from ColumnarRuleApplier. GlutenConfig prevents the dynamically modified configurations in interactive scenarios.

In fact, we should deprecate the GlutenConfig step by step.

How was this patch tested?

integration tests

beliefer avatar Oct 26 '24 02:10 beliefer

Thanks for opening a pull request!

Could you open an issue for this pull request on Github Issues?

https://github.com/apache/incubator-gluten/issues

Then could you also rename commit message and pull request title in the following format?

[GLUTEN-${ISSUES_ID}][COMPONENT]feat/fix: ${detailed message}

See also:

github-actions[bot] avatar Oct 26 '24 02:10 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Oct 26 '24 02:10 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Oct 26 '24 02:10 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Oct 26 '24 13:10 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Oct 27 '24 05:10 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Oct 27 '24 05:10 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Oct 27 '24 10:10 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Oct 27 '24 10:10 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Oct 27 '24 11:10 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Oct 27 '24 12:10 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Oct 27 '24 13:10 github-actions[bot]

https://github.com/apache/incubator-gluten/issues/7690

github-actions[bot] avatar Oct 28 '24 02:10 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Oct 28 '24 02:10 github-actions[bot]

GlutenConfig prevents the dynamically modified configurations in interactive scenarios.

@beliefer Would you like to post a code example of the interactive case you mentioned? Or probably to add a test case to guard against it?

zhztheplayer avatar Oct 28 '24 03:10 zhztheplayer

GlutenConfig prevents the dynamically modified configurations in interactive scenarios.

@beliefer Would you like to post a code example of the interactive case you mentioned? Or probably to add a test case to guard against it?

Spark already have a lot of test cases. So I added the code example of the interactive case into the description of issue

beliefer avatar Oct 28 '24 06:10 beliefer

Run Gluten Clickhouse CI

github-actions[bot] avatar Oct 28 '24 07:10 github-actions[bot]

@zhztheplayer @zhouyuan @FelixYBW The failure GC seems unrelated.

beliefer avatar Oct 28 '24 09:10 beliefer

@beliefer Aside of the constructor changes for GlutenConfig, I think 2 parts of code cleanups can be split and merged first. Would you want to split out the following parts from the PR?

  1. Rule constructor simplifications: E.g., RewriteDateTimestampComparisonRule(session: SparkSession, conf: SQLConf) to RewriteDateTimestampComparisonRule(conf: SQLConf) or RewriteDateTimestampComparisonRule(session: SparkSession)
  2. Naming improvements: E.g., columnarConf to glutenConf

Thanks!

zhztheplayer avatar Oct 29 '24 02:10 zhztheplayer

Run Gluten Clickhouse CI

github-actions[bot] avatar Nov 04 '24 09:11 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Nov 04 '24 10:11 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Nov 04 '24 13:11 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Nov 04 '24 14:11 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Nov 05 '24 03:11 github-actions[bot]

Run Gluten Clickhouse CI

beliefer avatar Nov 05 '24 07:11 beliefer

Run Gluten Clickhouse CI

beliefer avatar Nov 05 '24 12:11 beliefer

Run Gluten Clickhouse CI on x86

github-actions[bot] avatar Nov 06 '24 04:11 github-actions[bot]

Run Gluten Clickhouse CI on x86

github-actions[bot] avatar Nov 06 '24 09:11 github-actions[bot]