-
Notifications
You must be signed in to change notification settings - Fork 756
PG17 compatibility: Fix Test Failure in dml_recursive #7727
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
Closed
Closed
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
7c46d1f
Enable configure
naisila fb1466e
add pg17 build test
naisila 5c89a81
Add more pg17 tests in github actions
naisila 196d0e7
Check if there are blocks left in columnar_scan_analyze_next_block
naisila 52d3329
Check whether table AM is default
naisila 8e6e32e
colliculocale daticulocale renamed to colllocale datlocale, fix some …
naisila da2684b
Add COLLPROVIDER_BUILTIN option
naisila 79ebdeb
Fix Test Failure in multi-mx in PG17 (#7722)
m3hm3t b29c332
Revert "Fix Test Failure in multi-mx in PG17 (#7722)"
naisila 20eec72
dml_recursive update
m3hm3t 477d73a
update
m7hm7t db4518a
update
m7hm7t 448ed95
update
m7hm7t ccf2920
.
m7hm7t File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,11 +27,12 @@ jobs: | |
| style_checker_image_name: "ghcr.io/citusdata/stylechecker" | ||
| style_checker_tools_version: "0.8.18" | ||
| sql_snapshot_pg_version: "16.3" | ||
| image_suffix: "-v13fd57c" | ||
| image_suffix: "-dev-e5b0348" | ||
| pg14_version: '{ "major": "14", "full": "14.12" }' | ||
| pg15_version: '{ "major": "15", "full": "15.7" }' | ||
| pg16_version: '{ "major": "16", "full": "16.3" }' | ||
| upgrade_pg_versions: "14.12-15.7-16.3" | ||
| pg17_version: '{ "major": "17", "full": "17.0" }' | ||
| upgrade_pg_versions: "14.12-15.7-16.3-17.0" | ||
| steps: | ||
| # Since GHA jobs needs at least one step we use a noop step here. | ||
| - name: Set up parameters | ||
|
|
@@ -108,6 +109,7 @@ jobs: | |
| - ${{ needs.params.outputs.pg14_version }} | ||
| - ${{ needs.params.outputs.pg15_version }} | ||
| - ${{ needs.params.outputs.pg16_version }} | ||
| - ${{ needs.params.outputs.pg17_version }} | ||
| runs-on: ubuntu-20.04 | ||
| container: | ||
| image: "${{ matrix.image_name }}:${{ fromJson(matrix.pg_version).full }}${{ matrix.image_suffix }}" | ||
|
|
@@ -139,6 +141,7 @@ jobs: | |
| - ${{ needs.params.outputs.pg14_version }} | ||
| - ${{ needs.params.outputs.pg15_version }} | ||
| - ${{ needs.params.outputs.pg16_version }} | ||
| - ${{ needs.params.outputs.pg17_version }} | ||
| make: | ||
| - check-split | ||
| - check-multi | ||
|
|
@@ -168,6 +171,10 @@ jobs: | |
| pg_version: ${{ needs.params.outputs.pg16_version }} | ||
| suite: regress | ||
| image_name: ${{ needs.params.outputs.fail_test_image_name }} | ||
| - make: check-failure | ||
| pg_version: ${{ needs.params.outputs.pg17_version }} | ||
| suite: regress | ||
| image_name: ${{ needs.params.outputs.fail_test_image_name }} | ||
| - make: check-enterprise-failure | ||
| pg_version: ${{ needs.params.outputs.pg14_version }} | ||
| suite: regress | ||
|
|
@@ -180,6 +187,10 @@ jobs: | |
| pg_version: ${{ needs.params.outputs.pg16_version }} | ||
| suite: regress | ||
| image_name: ${{ needs.params.outputs.fail_test_image_name }} | ||
| - make: check-enterprise-failure | ||
| pg_version: ${{ needs.params.outputs.pg17_version }} | ||
| suite: regress | ||
| image_name: ${{ needs.params.outputs.fail_test_image_name }} | ||
| - make: check-pytest | ||
| pg_version: ${{ needs.params.outputs.pg14_version }} | ||
| suite: regress | ||
|
|
@@ -192,6 +203,10 @@ jobs: | |
| pg_version: ${{ needs.params.outputs.pg16_version }} | ||
| suite: regress | ||
| image_name: ${{ needs.params.outputs.fail_test_image_name }} | ||
| - make: check-pytest | ||
| pg_version: ${{ needs.params.outputs.pg17_version }} | ||
| suite: regress | ||
| image_name: ${{ needs.params.outputs.fail_test_image_name }} | ||
| - make: installcheck | ||
| suite: cdc | ||
| image_name: ${{ needs.params.outputs.test_image_name }} | ||
|
|
@@ -200,6 +215,10 @@ jobs: | |
| suite: cdc | ||
| image_name: ${{ needs.params.outputs.test_image_name }} | ||
| pg_version: ${{ needs.params.outputs.pg16_version }} | ||
| - make: installcheck | ||
| suite: cdc | ||
| image_name: ${{ needs.params.outputs.test_image_name }} | ||
| pg_version: ${{ needs.params.outputs.pg17_version }} | ||
| - make: check-query-generator | ||
| pg_version: ${{ needs.params.outputs.pg14_version }} | ||
| suite: regress | ||
|
|
@@ -212,6 +231,10 @@ jobs: | |
| pg_version: ${{ needs.params.outputs.pg16_version }} | ||
| suite: regress | ||
| image_name: ${{ needs.params.outputs.fail_test_image_name }} | ||
| - make: check-query-generator | ||
| pg_version: ${{ needs.params.outputs.pg17_version }} | ||
| suite: regress | ||
| image_name: ${{ needs.params.outputs.fail_test_image_name }} | ||
| runs-on: ubuntu-20.04 | ||
| container: | ||
| image: "${{ matrix.image_name }}:${{ fromJson(matrix.pg_version).full }}${{ needs.params.outputs.image_suffix }}" | ||
|
|
@@ -255,6 +278,7 @@ jobs: | |
| - ${{ needs.params.outputs.pg14_version }} | ||
| - ${{ needs.params.outputs.pg15_version }} | ||
| - ${{ needs.params.outputs.pg16_version }} | ||
| - ${{ needs.params.outputs.pg17_version }} | ||
| parallel: [0,1,2,3,4,5] # workaround for running 6 parallel jobs | ||
| steps: | ||
| - uses: actions/[email protected] | ||
|
|
@@ -303,6 +327,10 @@ jobs: | |
| new_pg_major: 16 | ||
| - old_pg_major: 14 | ||
| new_pg_major: 16 | ||
| - old_pg_major: 16 | ||
| new_pg_major: 17 | ||
| - old_pg_major: 15 | ||
| new_pg_major: 17 | ||
| env: | ||
| old_pg_major: ${{ matrix.old_pg_major }} | ||
| new_pg_major: ${{ matrix.new_pg_major }} | ||
|
|
@@ -386,7 +414,7 @@ jobs: | |
| CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | ||
| runs-on: ubuntu-20.04 | ||
| container: | ||
| image: ${{ needs.params.outputs.test_image_name }}:${{ fromJson(needs.params.outputs.pg16_version).full }}${{ needs.params.outputs.image_suffix }} | ||
| image: ${{ needs.params.outputs.test_image_name }}:${{ fromJson(needs.params.outputs.pg17_version).full }}${{ needs.params.outputs.image_suffix }} | ||
| needs: | ||
| - params | ||
| - test-citus | ||
|
|
@@ -481,7 +509,7 @@ jobs: | |
| name: Test flakyness | ||
| runs-on: ubuntu-20.04 | ||
| container: | ||
| image: ${{ needs.params.outputs.fail_test_image_name }}:${{ needs.params.outputs.pg16_version }}${{ needs.params.outputs.image_suffix }} | ||
| image: ${{ needs.params.outputs.fail_test_image_name }}:${{ needs.params.outputs.pg17_version }}${{ needs.params.outputs.image_suffix }} | ||
| options: --user root | ||
| env: | ||
| runs: 8 | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to take a closer look into the new query plan to see how that optimization allowed Citus to run the query now, you can ping me tomorrow for us to quickly debug this together.