-
Notifications
You must be signed in to change notification settings - Fork 256
Cherry pick commits from main to REL_2_STABLE, Sep'26 #2066
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
d2a80d0
Fix assert failure triggered by "CREATE INDEX CONCURRENTLY" (#1845)
fairyfar 81aa3a2
Fix diskquota build on CMake 3.16
tuhaihe b78a322
Pax: fix delete bloom crash (#1755)
yjhjstz a3d9ad0
fix(planner): fix range-pair NULL adjustment under outer joins and cl…
yjhjstz 7020eb8
Fix the clients path script name in gpAux/Makefile
tuhaihe 3a08860
udp2: index the cursor IC history table with uint32 in purge()
yjhjstz 6bc1aae
Fix missing third-party entries in LICENSE
tuhaihe a27fdf5
Remove BSD-4-Clause glob files inherited from Greenplum
tuhaihe 9d5eeea
Remove the Windows client installer and Thumbs.db files
tuhaihe 3373ef9
Remove the stale copy of sha2.h under src/backend/libpq
tuhaihe aca6843
Add the Greenplum attribution to NOTICE
tuhaihe 46b10bf
Upgrade gpMgmt's bundled Python dependencies
tuhaihe a792638
Fetch yyjson at build time instead of vendoring it
tuhaihe 7a090e9
Add export control notice for bundled cryptography (#2004)
tuhaihe 201fe77
Fix invalid escape sequences in gpMgmt Python sources
tuhaihe 782cf96
Drop the prebuilt gppkg samples and widen the binary check
tuhaihe d46c77d
Fix CMP0153 warnings from diskquota's pg_config probing
tuhaihe ad95ce6
Replace the blanket RAT globs with targeted exclusions
tuhaihe c065c07
DevOps: Remove unused s3-repo-sync-and-sign.sh script
tuhaihe 742b8e7
Restrict pg_file_write/rename/unlink and pg_logdir_ls to privileged r…
yjhjstz 7b28cbb
Fix OPENSSL_API_COMPAT redefinition warning in gpcloud
tuhaihe 1f1b2f2
RAT: exclude the docs of the pax_storage submodules
tuhaihe e51736d
RAT: exclude the SQL scripts and expected output of yezzey
tuhaihe f880f92
CI: check out submodules in the RAT workflow
tuhaihe 11a79cb
Doc: fix Greenplum wording in README
tuhaihe dca8acf
Remove duplicated declaration of gp_create_table_random_default_distr…
andr-sokolov 6fa2a79
Fix PAX protobuf array bounds warnings
krylosov-aa afe9a6c
interconnect: restart in fast mode so the test does not race crash re…
MisterRaindrop ce30d74
Fix putIntoUnackQueueRing function logic for Intercontect interfaces:…
ZTE-EBASE 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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| -- Regression test for issue #1749: | ||
| -- PAX DELETE crashes with SIGSEGV when bloomfilter_columns are not a | ||
| -- subset of minmax_columns. The stats refresh inside | ||
| -- DeleteWithVisibilityMap must project every column it reads. | ||
| -- Case 1: bloomfilter column (payload) is NOT in minmax_columns. | ||
| -- Pre-fix: segment crashed on DELETE. | ||
| drop table if exists pax_delete_bloom_crash; | ||
| NOTICE: table "pax_delete_bloom_crash" does not exist, skipping | ||
| create table pax_delete_bloom_crash (id int, k int, payload text) | ||
| using pax | ||
| with (minmax_columns = 'id', bloomfilter_columns = 'payload'); | ||
| NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'id' as the Apache Cloudberry data distribution key for this table. | ||
| HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew. | ||
| insert into pax_delete_bloom_crash | ||
| select i, i % 10, 'payload-' || i::text | ||
| from generate_series(1, 10000) as i; | ||
| delete from pax_delete_bloom_crash where id between 1 and 100; | ||
| select count(*) from pax_delete_bloom_crash; | ||
| count | ||
| ------- | ||
| 9900 | ||
| (1 row) | ||
|
|
||
| drop table pax_delete_bloom_crash; | ||
| -- Case 2: bloomfilter only, no minmax columns. | ||
| drop table if exists pax_delete_bf_only; | ||
| NOTICE: table "pax_delete_bf_only" does not exist, skipping | ||
| create table pax_delete_bf_only (id int, payload text) | ||
| using pax | ||
| with (bloomfilter_columns = 'payload'); | ||
| NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'id' as the Apache Cloudberry data distribution key for this table. | ||
| HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew. | ||
| insert into pax_delete_bf_only | ||
| select i, 'payload-' || i::text from generate_series(1, 5000) as i; | ||
| delete from pax_delete_bf_only where id between 1 and 50; | ||
| select count(*) from pax_delete_bf_only; | ||
| count | ||
| ------- | ||
| 4950 | ||
| (1 row) | ||
|
|
||
| drop table pax_delete_bf_only; | ||
| -- Case 3: minmax and bloomfilter columns overlap but neither is a subset. | ||
| drop table if exists pax_delete_mm_bf_mixed; | ||
| NOTICE: table "pax_delete_mm_bf_mixed" does not exist, skipping | ||
| create table pax_delete_mm_bf_mixed (id int, k int, payload text) | ||
| using pax | ||
| with (minmax_columns = 'id,payload', bloomfilter_columns = 'k,payload'); | ||
| NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'id' as the Apache Cloudberry data distribution key for this table. | ||
| HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew. | ||
| insert into pax_delete_mm_bf_mixed | ||
| select i, i % 7, 'p-' || i::text from generate_series(1, 5000) as i; | ||
| delete from pax_delete_mm_bf_mixed where id between 1 and 50; | ||
| select count(*) from pax_delete_mm_bf_mixed; | ||
| count | ||
| ------- | ||
| 4950 | ||
| (1 row) | ||
|
|
||
| drop table pax_delete_mm_bf_mixed; |
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.
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.
Uh oh!
There was an error while loading. Please reload this page.