Skip to content

Fix slow running regression test expr - #1772

Merged
dehowef merged 1 commit into
apache:PG15from
rafsun42:expr_slow
Apr 22, 2024
Merged

dehowef merged 1 commit into
apache:PG15from
rafsun42:expr_slow

Conversation

@rafsun42

Copy link
Copy Markdown
Member

Fixes slow runtime, introduced in PR #1678, of the regression test expr. This patch sets the config param force_parallel_mode TO regress only to a selective query rather than the entire expr.sql file.

Fixes slow runtime, introduced in PR apache#1678, of the regression test expr. This patch
sets the config param `force_parallel_mode TO regress` only to a selective query
rather than the entire expr.sql file.
@github-actions github-actions Bot added the PG15 PostgreSQL15 label Apr 19, 2024
@rafsun42

Copy link
Copy Markdown
Member Author

@saygoodbyye This PR fixes the slow runtime of expr that John mentioned in #1678. Could you verify if it still solves your original issue?

@jrgemignani

Copy link
Copy Markdown
Contributor

@rafsun42 I can confirm that this PR addresses the slow expr regression test.

From -

test expr ... ok 5277 ms

To -

test expr ... ok 1022 ms

@rafsun42
rafsun42 marked this pull request as ready for review April 19, 2024 21:43
@saygoodbyye

Copy link
Copy Markdown

@rafsun42, Thank you! There really was a mistake on my part. I didn’t pay attention to the execution time of the tests. This pull request fixes the problem

@dehowef

dehowef commented Apr 22, 2024

Copy link
Copy Markdown
Member

Great work! I'll go ahead and merge this. @saygoodbyye Thanks for your contribution, this stuff happens~

@dehowef
dehowef merged commit 2d3f4bd into apache:PG15 Apr 22, 2024
@jrgemignani

Copy link
Copy Markdown
Contributor

@rafsun42 Thank you for fixing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PG15 PostgreSQL15

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants