Skip to content

Randomize the use_join_disjunctions_push_down setting in the CI - #87697

Closed
yariks5s wants to merge 6 commits into
masterfrom
yarik/randomize_join_disjunction_pushdown_setting
Closed

yariks5s wants to merge 6 commits into
masterfrom
yarik/randomize_join_disjunction_pushdown_setting

Conversation

@yariks5s

@yariks5s yariks5s commented Sep 26, 2025 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Provide more thorough testing of the partial pushdown logic via using this logic randomly in CI.

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

Details

Follow-up to #84735 (comment)

@clickhouse-gh

clickhouse-gh Bot commented Sep 26, 2025 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [5a09462]

Summary: ❌

job_name test_name status info comment
Stateless tests (amd_msan, parallel) failure
00816_long_concurrent_alter_column FAIL cidb, issue
01548_query_log_query_execution_ms FAIL cidb
BuzzHouse (amd_debug) failure
Logical error: 'Inconsistent AST formatting: the query: FAIL cidb, issue
BuzzHouse (amd_msan) failure
Unknown error FAIL cidb
BuzzHouse (amd_ubsan) failure
UndefinedBehaviorSanitizer: undefined behavior (STID: 4443-3aa0) FAIL cidb

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Sep 26, 2025
@yariks5s

Copy link
Copy Markdown
Member Author

‼️This PR consists of two parts:

  1. Detecting all tests that require partial(disjunction) pushdown to be disabled (via enabling this logic by default in whole CI).
  2. Disabling partial pushdown for detected tests and randomizing the setting for CI.

@novikd novikd assigned novikd and unassigned novikd Sep 26, 2025
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 26, 2025
@devcrafter devcrafter self-assigned this Sep 26, 2025
@Felixoid Felixoid removed the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 26, 2025

@devcrafter devcrafter left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Don't see any randomization of the setting in CI :suspect:

Comment thread src/Core/Settings.cpp
Enable pushing user roles from originator to other nodes while performing a query.
)", 0) \
DECLARE(Bool, use_join_disjunctions_push_down, false, R"(
DECLARE(Bool, use_join_disjunctions_push_down, true, R"(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Settings change history should be updated

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I'm at the stage 1) (see my comment above), I want to detect all tests that will be failed because of this setting (due to actionsDAG change) to disable the setting in those tests. After that, i will enable the randomization, so no tests will be flaky because of it

@alexey-milovidov
alexey-milovidov marked this pull request as draft October 16, 2025 17:46
@alexey-milovidov

Copy link
Copy Markdown
Member

@yariks5s, converted to draft, please add it to the history.

@yariks5s yariks5s closed this Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants