From 308ae0e359490d1bd6e50a059a167e5395ad1b21 Mon Sep 17 00:00:00 2001 From: Alex Albu Date: Wed, 26 Jul 2023 18:10:06 -0400 Subject: [PATCH] Small clarification in materialized views docs. --- docs/src/main/sphinx/sql/create-materialized-view.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/src/main/sphinx/sql/create-materialized-view.rst b/docs/src/main/sphinx/sql/create-materialized-view.rst index 99a338c15b0f..285dece47c89 100644 --- a/docs/src/main/sphinx/sql/create-materialized-view.rst +++ b/docs/src/main/sphinx/sql/create-materialized-view.rst @@ -34,7 +34,9 @@ The optional ``OR REPLACE`` clause causes the materialized view to be replaced if it already exists rather than raising an error. The optional ``IF NOT EXISTS`` clause causes the materialized view only to be -created or replaced if it does not exist yet. +created if it does not exist yet. + +Note that ``OR REPLACE`` and ``IF NOT EXISTS`` are mutually exclusive clauses. The optional ``GRACE PERIOD`` clause specifies how long the query materialization is used for querying. If the time elapsed since last materialized view refresh