robertmu opened a new pull request, #63:
URL: https://github.com/apache/cloudberry-backup/pull/63

   On Cloudberry, Greenplum 7+, materialized views must be created with a 
specific access method (e.g., 'heap', 'ao_row') and associated storage options 
in the 'WITH' clause (e.g., 'compresstype=zstd').
   
   The prior implementation did not back up the 'USING' clause. During restore, 
the database would default to another access method (e.g., 'heap') which might 
not support the view's storage options. This incompatibility caused the 'CREATE 
MATERIALIZED VIEW' command to fail validation.
   
   This commit corrects the failure by:
   - Updating the view query for Cloudberry, GPDB 7+ to fetch the access method.
   - Modifying DDL generation to include the 'USING' clause.
   - Updating integration tests to verify the fix.
   
   Fixes #61


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to