apache / cloudberry

One advanced and mature open-source MPP (Massively Parallel Processing) database. Open source alternative to Greenplum Database.
https://cloudberry.apache.org
Apache License 2.0
417 stars 104 forks source link

Fix REFRESH fast path. #720

Open avamingli opened 1 day ago

avamingli commented 1 day ago

If a table is vacuum or clutered, we should not avoid REFRESH for mvs have it. Else, if it's a partition or partitioned now and later, we could not use it for Append Agg.

Authored-by: Zhang Mingli avamingli@gmail.com

Fixes #ISSUE_Number

What does this PR do?

Type of Change

Breaking Changes

Test Plan

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

⚠️ To skip CI: Add [skip ci] to your PR title. Only use when necessary! ⚠️


avamingli commented 1 day ago

This is a cherry-pick commit from commercial version.