Skip to content

[CH] Fix issues due to https://github.com/ClickHouse/ClickHouse/pull/71539 - #7952

Merged
baibaichen merged 2 commits into
apache:mainfrom
baibaichen:feature/BuildQueryPipelineSettings
Nov 14, 2024
Merged

baibaichen merged 2 commits into
apache:mainfrom
baibaichen:feature/BuildQueryPipelineSettings

Conversation

@baibaichen

@baibaichen baibaichen commented Nov 14, 2024 •

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This PR fix 2 issues:

Issue 1

BuildQueryPipelineSettings is created manually instead of calling BuildQueryPipelineSettings::fromContext(); so even ClickHouse/ClickHouse#71890 disable 'query_plan_merge_filters', UTs are still failed.

To fix this issue, we need set correct default parameters in CHUtil.cpp

Issue 2

If we set query_plan_merge_filters to true, then ClickHouse/ClickHouse#71539 will try to split the left most AND atom to a separate DAG and hence create FilterTransformer for each And atom, which cause collecting metrics failed.

I am not sure the benefits of setting it to true, let's keep it to false.

How was this patch tested?

Using Existed UTs

@github-actions

Copy link
Copy Markdown

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

Copy link
Copy Markdown

Run Gluten Clickhouse CI on x86

1 similar comment
@github-actions

Copy link
Copy Markdown

Run Gluten Clickhouse CI on x86

Issue 1
BuildQueryPipelineSettings is created manually instead of calling  BuildQueryPipelineSettings::fromContext(); so even ClickHouse/ClickHouse#71890 disable 'query_plan_merge_filters', UTs are still failed.

To fix  this issue, we need set correct default parameters in CHUtil.cpp

Issue 2
If we set query_plan_merge_filters to true, then ClickHouse/ClickHouse#71539 will try to split the left most AND atom to a separate DAG and hence create FilterTransformer for each And atom, which cause collecting metrics failed.

I am not sure the benefits of setting it to true, let's keep it to false.
@baibaichen
baibaichen force-pushed the feature/BuildQueryPipelineSettings branch from 9a4fe9f to 300af54 Compare November 14, 2024 13:49
@github-actions

Copy link
Copy Markdown

Run Gluten Clickhouse CI on x86

@baibaichen
baibaichen merged commit f65087e into apache:main Nov 14, 2024
@baibaichen
baibaichen deleted the feature/BuildQueryPipelineSettings branch November 14, 2024 15:51
@baibaichen baibaichen changed the title [CH] Fix issues due to https://github.com/ClickHouse/ClickHouse/pull/71539. [CH] Fix issues due to https://github.com/ClickHouse/ClickHouse/pull/71539 Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants