isSyncRollup reports whether a StarRocks information_schema.materialized_views row describes a synchronous rollup rather than a standalone (async) materialized view. Sync rollups are rollup indexes on the base table: they appear in that catalog with REFRESH_TYPE='ROLLUP' but have no information_sche
(refreshType string)
| 121 | // from the materialized-view set. Only the confirmed 'ROLLUP' value is excluded — async |
| 122 | // refresh types and any unknown/empty value are kept. |
| 123 | func isSyncRollup(refreshType string) bool { |
| 124 | return refreshType == "ROLLUP" |
| 125 | } |
| 126 | |
| 127 | // isMaterializedView reports whether a table row is a materialized view, based on its |
| 128 | // table type and membership in the materialized-view set. StarRocks reports |
no outgoing calls