Skip to content

fix(test): Remove ELEMENT parameter for Cloudberry compatibility#27

Merged
gfphoenix78 merged 1 commit intoapache:sync-with-upstreamfrom
robertmu:type-query
Aug 28, 2025
Merged

fix(test): Remove ELEMENT parameter for Cloudberry compatibility#27
gfphoenix78 merged 1 commit intoapache:sync-with-upstreamfrom
robertmu:type-query

Conversation

@robertmu
Copy link
Copy Markdown
Contributor

This commit fixes the "base type with custom configuration" test to handle stricter validation in Cloudberry (based on PostgreSQL 14).

Cloudberry enforces stricter CREATE TYPE validation requiring that types with ELEMENT parameters must have subscripting functions, while Greenplum 7 (based on PostgreSQL 12) was more lenient. Since this test focuses on verifying backup of custom type properties rather than array functionality, the ELEMENT parameter is removed for Cloudberry to comply with validation while preserving test coverage.

This commit fixes the "base type with custom configuration" test
to handle stricter validation in Cloudberry (based on PostgreSQL 14).

Cloudberry enforces stricter CREATE TYPE validation requiring that
types with ELEMENT parameters must have subscripting functions,
while Greenplum 7 (based on PostgreSQL 12) was more lenient. Since
this test focuses on verifying backup of custom type properties
rather than array functionality, the ELEMENT parameter is removed
for Cloudberry to comply with validation while preserving test
coverage.
@gfphoenix78 gfphoenix78 merged commit 66a170d into apache:sync-with-upstream Aug 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants