Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GLUTEN-8655][CH] Refactor: remove clickhouse.lib.path #8656

Merged

Conversation

baibaichen
Copy link
Contributor

@baibaichen baibaichen commented Feb 3, 2025

What changes were proposed in this pull request?

(Fixes: #8655)

clickhouse.lib.path was used at the beginning of this project, and now it should be using spark.gluten.sql.columnar.libpath, so that we needn't call .set(GlutenConfig.GLUTEN_LIB_PATH.key, SystemParameters.getClickHouseLibPath) when initializing SparkConf.

#8555 depends on this PR.

Notes: After this PR, the signifiant change is how to set debug parameters in IDEA

before after
-Dtpcds.data.path=/data/tpcds-data-sf1
-Dclickhouse.lib.path=/path/to/gluten/cpp-ch/build/utils/extern-local-engine/libch.so
-Dspark.test.home=/path/to/spark33
-Dgluten.test.data.path=/data
-Dspark.gluten.sql.columnar.libpath=/path/to/gluten/cpp-ch/build/utils/extern-local-engine/libch.so
-Dspark.test.home=/path/to/spark33

How was this patch tested?

Using exited UTs

@github-actions github-actions bot added CORE works for Gluten Core CLICKHOUSE DOCS labels Feb 3, 2025
Copy link

github-actions bot commented Feb 3, 2025

#8655

Copy link

github-actions bot commented Feb 3, 2025

Run Gluten Clickhouse CI on x86

baibaichen added a commit to baibaichen/gluten that referenced this pull request Feb 3, 2025
baibaichen added a commit to baibaichen/gluten that referenced this pull request Feb 3, 2025
Copy link

github-actions bot commented Feb 3, 2025

Run Gluten Clickhouse CI on x86

1 similar comment
Copy link

github-actions bot commented Feb 3, 2025

Run Gluten Clickhouse CI on x86

baibaichen added a commit to baibaichen/gluten that referenced this pull request Feb 3, 2025
Copy link

github-actions bot commented Feb 3, 2025

Run Gluten Clickhouse CI on x86

@baibaichen baibaichen force-pushed the feature/spark.gluten.sql.columnar.libpath branch from 70a39fd to 9f48967 Compare February 4, 2025 01:49
Copy link

github-actions bot commented Feb 4, 2025

Run Gluten Clickhouse CI on x86

baibaichen added a commit to baibaichen/gluten that referenced this pull request Feb 4, 2025
baibaichen added a commit to baibaichen/gluten that referenced this pull request Feb 4, 2025
baibaichen added a commit to baibaichen/gluten that referenced this pull request Feb 4, 2025
@baibaichen baibaichen force-pushed the feature/spark.gluten.sql.columnar.libpath branch from 9f48967 to d0f0ec5 Compare February 4, 2025 11:32
Copy link

github-actions bot commented Feb 4, 2025

Run Gluten Clickhouse CI on x86

@baibaichen baibaichen force-pushed the feature/spark.gluten.sql.columnar.libpath branch from d0f0ec5 to a6ade57 Compare February 5, 2025 05:23
Copy link

github-actions bot commented Feb 5, 2025

Run Gluten Clickhouse CI on x86

Copy link
Contributor

@taiyang-li taiyang-li left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@baibaichen baibaichen merged commit 28f9cfd into apache:main Feb 5, 2025
55 checks passed
@baibaichen baibaichen deleted the feature/spark.gluten.sql.columnar.libpath branch February 5, 2025 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLICKHOUSE CORE works for Gluten Core DOCS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CH] Remove clickhouse.lib.path
2 participants