)]}'
{
  "commit": "b60130e8062e0b2a0a031b959bc742869ceedf5d",
  "tree": "bb12aac07747a7649ff33503a9bb07d6d29a7295",
  "parents": [
    "4648d84ec126c540678b462ceb57ae099f943a81"
  ],
  "author": {
    "name": "Robert Mu",
    "email": "dbx_c@hotmail.com",
    "time": "Wed Oct 15 17:44:05 2025 +0800"
  },
  "committer": {
    "name": "Max Yang",
    "email": "79948451+my-ship-it@users.noreply.github.com",
    "time": "Mon Oct 20 14:52:12 2025 +0800"
  },
  "message": "fix(relations): Ensure materialized view access method is restored\n\nOn Cloudberry, Greenplum 7+, materialized views must be created with\na specific access method (e.g., \u0027heap\u0027, \u0027ao_row\u0027) and associated storage\noptions in the \u0027WITH\u0027 clause (e.g., \u0027compresstype\u003dzstd\u0027).\n\nThe prior implementation did not back up the \u0027USING\u0027 clause.\nDuring restore, the database would default to another access method\n(e.g., \u0027heap\u0027) which might not support the view\u0027s storage options.\nThis incompatibility caused the \u0027CREATE MATERIALIZED VIEW\u0027 command\nto fail validation.\n\nThis commit corrects the failure by:\n- Updating the view query for Cloudberry, GPDB 7+ to fetch the access method.\n- Modifying DDL generation to include the \u0027USING\u0027 clause.\n- Updating integration tests to verify the fix.\n\nFixes #61\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8f42a8a2c7f876904148d8b0e1a085708d402738",
      "old_mode": 33188,
      "old_path": "backup/predata_relations.go",
      "new_id": "ead394abf3700b23d225cb85bb50bbb670201d51",
      "new_mode": 33188,
      "new_path": "backup/predata_relations.go"
    },
    {
      "type": "modify",
      "old_id": "ed16db983e9adb0b33916c8c34c9d1157ba39e4b",
      "old_mode": 33188,
      "old_path": "backup/queries_relations.go",
      "new_id": "34652a84590e080fe8331761db3df31c557f3998",
      "new_mode": 33188,
      "new_path": "backup/queries_relations.go"
    },
    {
      "type": "modify",
      "old_id": "3d825f1170f6483f35bc0eb651d90001d697fa11",
      "old_mode": 33188,
      "old_path": "integration/predata_relations_create_test.go",
      "new_id": "5a92c391126191b13eb9c64bcd5bc7b20c433d48",
      "new_mode": 33188,
      "new_path": "integration/predata_relations_create_test.go"
    },
    {
      "type": "modify",
      "old_id": "af97c5c9f135e60b7446bc8a0ea846ffd536d7ef",
      "old_mode": 33188,
      "old_path": "integration/predata_relations_queries_test.go",
      "new_id": "a0fc446e14793bc7733eec218c13a2935e528333",
      "new_mode": 33188,
      "new_path": "integration/predata_relations_queries_test.go"
    }
  ]
}
