lsyldliu commented on code in PR #25904:
URL: https://github.com/apache/flink/pull/25904#discussion_r1904817652


##########
docs/content.zh/docs/dev/table/materialized-table/statements.md:
##########
@@ -233,8 +233,8 @@ CREATE MATERIALIZED TABLE my_materialized_table_full
         'format' = 'json',
         'partition.fields.ds.date-formatter' = 'yyyy-MM-dd'
     )
-    FRESHNESS = INTERVAL '10' MINUTE
-    REFRESH_MODE = 'FULL'
+    FRESHNESS = INTERVAL '1' HOUR
+    REFRESH_MODE = FULL

Review Comment:
   Here both exists the `LogicRefreshMode` and `RefreshMode`, the 
`LogicRefreshMode` is logical concept and the `RefreshMode` represents the 
physical refresh mode, corresponding to a streaming or batch flink job. If we 
don't specify the `REFRESH_MODE` when create materialized table. The 
`LogicalRefreshMode` value is `AUTOMATIC`, then we will derive the 
`RefreshMode` via freshness. We allow user to specify the `REFRESH_MODE` when 
create materialized table, the starting point of the design is to consider that 
the `RefreshMode `derived from freshness may not meet user needs, which is why 
this option is provided.
   



-- 
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]

Reply via email to